Home
last modified time | relevance | path

Searched refs:oiph (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_send.c1241 struct ip *oiph, *niph; in nxge_do_softlso() local
1276 oiph = (struct ip *)(mp->b_rptr + ehlen); in nxge_do_softlso()
1277 iphlen = oiph->ip_hl * 4; in nxge_do_softlso()
1290 oiph, in nxge_do_softlso()
1291 oiph->ip_sum, in nxge_do_softlso()
1293 ntohs(oiph->ip_len), pktlen, in nxge_do_softlso()
1297 ntohs(oiph->ip_len) - iphlen)); in nxge_do_softlso()
1300 if (!(oiph->ip_v == IPV4_VERSION)) { in nxge_do_softlso()
1304 ntohs(oiph->ip_len), pktlen, ehlen, in nxge_do_softlso()
1310 if (!(oiph->ip_p == IPPROTO_TCP)) { in nxge_do_softlso()
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_htable.c105 iphtable_t *iph, *oiph; local
141 for (oiph = ifs->ifs_ipf_htables[unit]; oiph != NULL;
142 oiph = oiph->iph_next)
143 if (strncmp(oiph->iph_name, name,
144 sizeof(oiph->iph_name)) == 0)
146 } while (oiph != NULL);
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c814 const ipha_t *oiph; in mac_sw_lso() local
909 oiph = (ipha_t *)(omp->b_rptr + oehlen); in mac_sw_lso()
910 oiphlen = IPH_HDR_LENGTH(oiph); in mac_sw_lso()
917 if (IPH_HDR_VERSION(oiph) != IPV4_VERSION) { in mac_sw_lso()
919 IPH_HDR_VERSION(oiph)); in mac_sw_lso()
923 if (oiph->ipha_protocol != IPPROTO_TCP) { in mac_sw_lso()
925 oiph->ipha_protocol); in mac_sw_lso()
1023 DTRACE_PROBE6(sw__lso__start, mblk_t *, omp, void_ip_t *, oiph, in mac_sw_lso()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dspd.c5274 ipha_t *oiph; in ipsec_tun_outbound() local
5295 oiph = (ipha_t *)mp->b_rptr; in ipsec_tun_outbound()
5296 if (IPH_HDR_VERSION(oiph) == IPV4_VERSION) { in ipsec_tun_outbound()
5298 IPH_HDR_LENGTH(oiph) : 0); in ipsec_tun_outbound()
5301 ASSERT(IPH_HDR_VERSION(oiph) == IPV6_VERSION); in ipsec_tun_outbound()
6268 ipha_t *oiph; in ipsec_fragcache_add() local
6309 oiph = (ipha_t *)mp->b_rptr; in ipsec_fragcache_add()
6511 IPH_HDR_LENGTH(oiph) : 0); in ipsec_fragcache_add()
6715 oiph = (ipha_t *)data_mp->b_rptr; in ipsec_fragcache_add()
6719 if (IPH_HDR_VERSION(oiph) == IPV4_VERSION) { in ipsec_fragcache_add()
[all …]