Home
last modified time | relevance | path

Searched refs:EH_SIZE (Results 1 – 9 of 9) sorted by relevance

/dports/net/tcptrace/tcptrace-508f73a/
H A Dtcpdump.c80 #define EH_SIZE sizeof(struct ether_header) macro
118 memcpy(&eth_header, buf, EH_SIZE); /* save ether header */ in callback()
121 case EH_SIZE + ETHER_VLAN_ENCAP_LEN: in callback()
122 memcpy(&eth_header.ether_type, buf+EH_SIZE+2, 2); in callback()
124 case EH_SIZE: /* straight Ethernet encapsulation */ in callback()
139 vlanhptr=(struct vlanh*) (buf+EH_SIZE); in callback()
143 offset=EH_SIZE+sizeof(struct vlanh); in callback()
162 memcpy(&eth_header,buf,EH_SIZE); /* save ether header */ in callback()
218 memcpy(&eth_header,buf,EH_SIZE); // save ethernet header in callback()
341 memset(&eth_header,0,EH_SIZE);
[all …]
/dports/net/c3270/suite3270-4.0/Common/pr3287/
H A Dtelnet.c1191 rv = process_ds(ibuf + EH_SIZE, (ibptr - ibuf) - EH_SIZE); in process_eor()
1193 rv = process_scs(ibuf + EH_SIZE, (ibptr - ibuf) - EH_SIZE); in process_eor()
1484 while ((nc + n + EH_SIZE) > (obuf_size + more)) { in space3270out()
1491 obuf = obuf_base + EH_SIZE; in space3270out()
1710 int rsp_len = EH_SIZE; in tn3270e_ack()
1737 int rsp_len = EH_SIZE; in tn3270e_nak()
1784 int rsp_len = EH_SIZE; in tn3270e_cleared()
1815 space3270out(EH_SIZE); in net_add_dummy_tn3270e()
1835 obptr += EH_SIZE; in net_add_dummy_tn3270e()
/dports/x11/x3270/suite3270-4.0/Common/pr3287/
H A Dtelnet.c1191 rv = process_ds(ibuf + EH_SIZE, (ibptr - ibuf) - EH_SIZE); in process_eor()
1193 rv = process_scs(ibuf + EH_SIZE, (ibptr - ibuf) - EH_SIZE); in process_eor()
1484 while ((nc + n + EH_SIZE) > (obuf_size + more)) { in space3270out()
1491 obuf = obuf_base + EH_SIZE; in space3270out()
1710 int rsp_len = EH_SIZE; in tn3270e_ack()
1737 int rsp_len = EH_SIZE; in tn3270e_nak()
1784 int rsp_len = EH_SIZE; in tn3270e_cleared()
1815 space3270out(EH_SIZE); in net_add_dummy_tn3270e()
1835 obptr += EH_SIZE; in net_add_dummy_tn3270e()
/dports/net/tcpsplit/tcpsplit-0.2/
H A Dtcpsplit.h42 #define EH_SIZE 14 macro
H A Dtcpsplit.c194 if (hdr.caplen < (EH_SIZE + sizeof (struct ip))) in process_trace()
/dports/net/c3270/suite3270-4.0/include/
H A Dtn3270e.h98 #define EH_SIZE 5 macro
/dports/x11/x3270/suite3270-4.0/include/
H A Dtn3270e.h98 #define EH_SIZE 5 macro
/dports/net/c3270/suite3270-4.0/Common/
H A Dtelnet.c2471 rv = process_ds(ibuf + EH_SIZE, (ibptr - ibuf) - EH_SIZE); in process_eor()
2485 process_bind(ibuf + EH_SIZE, (ibptr - ibuf) - EH_SIZE); in process_eor()
2522 if ((ibptr - ibuf) > EH_SIZE) { in process_eor()
2523 trace_ds("< UNBIND %s\n", unbind_reason(ibuf[EH_SIZE])); in process_eor()
2553 ctlr_write_sscp_lu(ibuf + EH_SIZE, (ibptr - ibuf) - EH_SIZE); in process_eor()
2878 while ((nc + n + EH_SIZE) > (obuf_size + more)) { in space3270out()
2885 obuf = obuf_base + EH_SIZE; in space3270out()
3146 space3270out(EH_SIZE); in net_add_dummy_tn3270e()
3166 obptr += EH_SIZE; in net_add_dummy_tn3270e()
3435 space3270out(EH_SIZE + bind_image_len + xlen + 3); in net_snap_options()
[all …]
/dports/x11/x3270/suite3270-4.0/Common/
H A Dtelnet.c2471 rv = process_ds(ibuf + EH_SIZE, (ibptr - ibuf) - EH_SIZE); in process_eor()
2485 process_bind(ibuf + EH_SIZE, (ibptr - ibuf) - EH_SIZE); in process_eor()
2522 if ((ibptr - ibuf) > EH_SIZE) { in process_eor()
2523 trace_ds("< UNBIND %s\n", unbind_reason(ibuf[EH_SIZE])); in process_eor()
2553 ctlr_write_sscp_lu(ibuf + EH_SIZE, (ibptr - ibuf) - EH_SIZE); in process_eor()
2878 while ((nc + n + EH_SIZE) > (obuf_size + more)) { in space3270out()
2885 obuf = obuf_base + EH_SIZE; in space3270out()
3146 space3270out(EH_SIZE); in net_add_dummy_tn3270e()
3166 obptr += EH_SIZE; in net_add_dummy_tn3270e()
3435 space3270out(EH_SIZE + bind_image_len + xlen + 3); in net_snap_options()
[all …]