Home
last modified time | relevance | path

Searched refs:ip_off (Results 1 – 24 of 24) sorted by relevance

/illumos-gate/usr/src/boot/libsa/
H A Dip.c161 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 Dxgehal-device-fp.c917 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/netinet/
H A Dip_var.h72 short ip_off; member
H A Dip.h50 ushort_t ip_off; /* fragment offset field */ member
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_fil_solaris.c1439 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 Dip_auth.c333 bo = ip->ip_off;
334 ip->ip_off = htons(bo);
345 ip->ip_off = htons(ip->ip_off);
H A Dfil.c1015 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 Dip_state.c2455 oip->ip_off = ntohs(oip->ip_off);
2478 oip->ip_off = htons(oip->ip_off);
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipftest.c222 ip->ip_off = ntohs(ip->ip_off);
271 ip->ip_off = htons(ip->ip_off);
H A Dip_fil.c779 ip->ip_off = htons((u_short)(ip->ip_off | IP_MF));
H A Dipmon.c1118 ipoff = ip->ip_off;
1189 ipoff = ntohs(ipc->ip_off);
/illumos-gate/usr/src/uts/common/io/xge/drv/
H A Dxgell.c568 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 Dprintpacket.c27 off = ntohs(ip->ip_off);
/illumos-gate/usr/src/boot/include/netinet/
H A Dip.h61 u_short ip_off; /* fragment offset field */ member
/illumos-gate/usr/src/uts/common/io/mac/plugins/
H A Dmac_ipv4.c164 iphp->ip_off = htons(IP_DF); in mac_ipv4_header()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ip.c119 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 Dmyri10ge_lro.c156 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 Dtraceroute_aux.c117 outip->ip_off = htons(off); in set_buffers()
/illumos-gate/usr/src/stand/lib/inet/
H A Dipv4.c814 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 Dvjcompress.c178 if ((ip->ip_off & htons(0x3fff)) || mlen < 40) { in vj_compress_tcp()
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_main.c727 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/uts/common/io/sfxge/
H A Dsfxge_rx.c1553 if ((iphp->ip_off & ~htons(IP_DF)) != 0) in sfxge_rx_qpacket_coalesce()
H A Dsfxge_tx.c1629 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 Dvrrpd.c3088 ip->ip_off = 0; in vrrpd_send_adv_v4()