/illumos-gate/usr/src/boot/libsa/ |
H A D | ip.c | 161 if ((ntohs(p->ipq_hdr->ip_off) & IP_OFFMASK) < in ip_reasm_add() 162 (ntohs(ip->ip_off) & IP_OFFMASK)) { in ip_reasm_add() 273 if ((ntohs(ip->ip_off) & IP_MF) == 0 && in readipv4() 274 (ntohs(ip->ip_off) & IP_OFFMASK) == 0) { in readipv4() 321 if ((ntohs(ip->ip_off) & IP_MF) == 0) { in readipv4() 322 ipr->ip_total_size = (8 * (ntohs(ip->ip_off) & IP_OFFMASK)); in readipv4() 350 if ((ntohs(ipq->ipq_hdr->ip_off) & IP_OFFMASK) != n / 8) { in readipv4() 359 if ((ntohs(last->ipq_hdr->ip_off) & IP_MF) != 0) { in readipv4()
|
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-device-fp.c | 917 u8 ip_off, ip_length; in __hal_lro_capable() local 941 ip_off = XGE_HAL_HEADER_ETHERNET_II_802_3_SIZE; in __hal_lro_capable() 944 ip_off = (XGE_HAL_HEADER_ETHERNET_II_802_3_SIZE + in __hal_lro_capable() 948 ip_off = (XGE_HAL_HEADER_ETHERNET_II_802_3_SIZE + in __hal_lro_capable() 957 ip_off += XGE_HAL_HEADER_VLAN_SIZE; in __hal_lro_capable() 961 *ip = (iplro_t *)((char*)buffer + ip_off); in __hal_lro_capable()
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_fil_solaris.c | 1439 ip->ip_off = htons(IP_DF); 1446 ip->ip_off = htons(*ip_mtudisc ? IP_DF : 0); 1448 ip->ip_off = htons(IP_DF); 1458 ip->ip_off = ntohs(ip->ip_off); 1623 icmp->icmp_ip.ip_off = htons(icmp->icmp_ip.ip_off); 2180 __ipoff = (u_short)ip->ip_off; 2183 ip->ip_off = htons(__ipoff); 2430 swap = ntohs(ip->ip_off); in ipf_hook() 2431 ip->ip_off = swap; in ipf_hook() 2457 swap = ntohs(ip->ip_off); in ipf_hook() [all …]
|
H A D | ip_auth.c | 333 bo = ip->ip_off; 334 ip->ip_off = htons(bo); 345 ip->ip_off = htons(ip->ip_off);
|
H A D | fil.c | 1015 if ((ntohs(oip->ip_off) & IP_OFFMASK) != 0) 1334 off = ip->ip_off; 2450 ip->ip_off = ntohs(ip->ip_off); 2793 ip->ip_off = ntohs(ip->ip_off);
|
H A D | ip_state.c | 2455 oip->ip_off = ntohs(oip->ip_off); 2478 oip->ip_off = htons(oip->ip_off);
|
/illumos-gate/usr/src/uts/common/netinet/ |
H A D | ip_var.h | 72 short ip_off; member
|
H A D | ip.h | 50 ushort_t ip_off; /* fragment offset field */ member
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipftest.c | 222 ip->ip_off = ntohs(ip->ip_off); 271 ip->ip_off = htons(ip->ip_off);
|
H A D | ip_fil.c | 779 ip->ip_off = htons((u_short)(ip->ip_off | IP_MF));
|
H A D | ipmon.c | 1118 ipoff = ip->ip_off; 1189 ipoff = ntohs(ipc->ip_off);
|
/illumos-gate/usr/src/uts/common/io/xge/drv/ |
H A D | xgell.c | 568 int ip_off; in xgell_get_ip_offset() local 573 ip_off = XGE_HAL_HEADER_ETHERNET_II_802_3_SIZE; in xgell_get_ip_offset() 576 ip_off = (XGE_HAL_HEADER_ETHERNET_II_802_3_SIZE + in xgell_get_ip_offset() 581 ip_off = (XGE_HAL_HEADER_ETHERNET_II_802_3_SIZE + in xgell_get_ip_offset() 585 ip_off = (XGE_HAL_HEADER_ETHERNET_II_802_3_SIZE + in xgell_get_ip_offset() 589 ip_off = 0; in xgell_get_ip_offset() 596 ip_off += XGE_HAL_HEADER_VLAN_SIZE; in xgell_get_ip_offset() 599 return (ip_off); in xgell_get_ip_offset() 631 int ip_off = xgell_get_ip_offset(ext_info); in xgell_rx_hcksum_assoc() local 632 int start, end = pkt_length - ip_off; in xgell_rx_hcksum_assoc() [all …]
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | printpacket.c | 27 off = ntohs(ip->ip_off);
|
/illumos-gate/usr/src/boot/include/netinet/ |
H A D | ip.h | 61 u_short ip_off; /* fragment offset field */ member
|
/illumos-gate/usr/src/uts/common/io/mac/plugins/ |
H A D | mac_ipv4.c | 164 iphp->ip_off = htons(IP_DF); in mac_ipv4_header()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ip.c | 119 morefrag = (ntohs(ip->ip_off) & IP_MF) == 0 ? B_FALSE : B_TRUE; in interpret_ip() 120 fragoffset = (ntohs(ip->ip_off) & 0x1FFF) * 8; in interpret_ip() 190 uitmp = ntohs(ip->ip_off); in interpret_ip()
|
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge_lro.c | 156 if (ip->ip_off & htons(IP_MF|IP_OFFMASK)) in myri10ge_lro_rx()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux.c | 117 outip->ip_off = htons(off); in set_buffers()
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | ipv4.c | 814 curr_off = ntohs(iphp->ip_off); in ipv4_input() 1007 iphp->ip_off = htons(IP_DF); in ipv4_output()
|
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | vjcompress.c | 178 if ((ip->ip_off & htons(0x3fff)) || mlen < 40) { in vj_compress_tcp()
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_main.c | 727 uchar_t *ip_off = mp->b_rptr + pktinfo->mac_hlen; in unm_get_pkt_info() local 729 pktinfo->ip_hlen = IPH_HDR_LENGTH((uintptr_t)ip_off); in unm_get_pkt_info() 731 ((ipha_t *)(uintptr_t)ip_off)->ipha_protocol; in unm_get_pkt_info() 734 if ((unsigned long)(ip_off + pktinfo->ip_hlen) % 8 != 0) in unm_get_pkt_info()
|
/illumos-gate/usr/src/test/os-tests/tests/mac/ |
H A D | mac_parsing.c | 210 .ip_off = IP_MF, in build_frag_v4()
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_rx.c | 1553 if ((iphp->ip_off & ~htons(IP_DF)) != 0) in sfxge_rx_qpacket_coalesce()
|
H A D | sfxge_tx.c | 1629 if (((iphp->ip_off & ~htons(IP_DF)) != 0) || in sfxge_tx_qlso_fragment()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/ |
H A D | vrrpd.c | 3088 ip->ip_off = 0; in vrrpd_send_adv_v4()
|