Searched refs:ip_hdr (Results 1 – 4 of 4) sorted by relevance
| /xnu-11215.61.5/bsd/netinet6/ |
| H A D | esp_output.c | 1014 struct ip *ip_hdr = (struct ip *)(void *)sbaddr; in esp_kpipe_output() local 1015 ASSERT(IP_HDR_ALIGNED_P(ip_hdr)); in esp_kpipe_output() 1017 u_int ip_vers = IP_VHL_V(ip_hdr->ip_vhl); in esp_kpipe_output() 1021 iphlen = IP_VHL_HL(ip_hdr->ip_vhl) << 2; in esp_kpipe_output() 1023 iphlen = ip_hdr->ip_hl << 2; in esp_kpipe_output() 1025 dscp = ip_hdr->ip_tos >> IPTOS_DSCP_SHIFT; in esp_kpipe_output() 1026 nxt_proto = ip_hdr->ip_p; in esp_kpipe_output()
|
| H A D | esp_input.c | 1763 struct ip *ip_hdr = (struct ip *)(void *)sbaddr; in esp_kpipe_input() local 1764 ASSERT(IP_HDR_ALIGNED_P(ip_hdr)); in esp_kpipe_input() 1766 u_int ip_vers = IP_VHL_V(ip_hdr->ip_vhl); in esp_kpipe_input() 1770 iphlen = IP_VHL_HL(ip_hdr->ip_vhl) << 2; in esp_kpipe_input() 1772 iphlen = ip_hdr->ip_hl << 2; in esp_kpipe_input() 1774 nxt_proto = ip_hdr->ip_p; in esp_kpipe_input() 1775 dscp = ip_hdr->ip_tos >> IPTOS_DSCP_SHIFT; in esp_kpipe_input() 1776 ipsec_fill_ip_sockaddr_4_6(&src, ip_hdr->ip_src, 0); in esp_kpipe_input() 1777 ipsec_fill_ip_sockaddr_4_6(&dst, ip_hdr->ip_dst, 0); in esp_kpipe_input()
|
| /xnu-11215.61.5/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_agg.c | 966 uint8_t *ip_hdr; in can_agg_fastpath() local 995 ip_hdr = __unsafe_forge_bidi_indexable(uint8_t *, in can_agg_fastpath() 997 match = ipv4_tcp_memcmp(fa->fa_sptr, ip_hdr); in can_agg_fastpath() 1000 ip_hdr = __unsafe_forge_bidi_indexable(uint8_t *, in can_agg_fastpath() 1002 match = ipv6_tcp_memcmp(fa->fa_sptr, ip_hdr); in can_agg_fastpath()
|
| /xnu-11215.61.5/bsd/net/ |
| H A D | if_bridge.c | 605 uint8_t *__sized_by(ip_m0_len) ip_hdr; /* pointer to IP header */ 4566 info_p->ip_hdr = mtodo(m0, mac_hlen); 4634 info_p->ip_hdr = mtodo(m0, mac_hlen); 4691 info_p->ip_proto_hdr = info_p->ip_hdr + info_p->ip_hlen + 4938 struct ip *ip = (struct ip *)info_p->ip_hdr; 4963 tcp = (struct tcphdr *)(info_p->ip_hdr + info_p->ip_hlen 4988 udp = (struct udphdr *)(info_p->ip_hdr + info_p->ip_hlen 10951 uint8_t *__counted_by(ip_m0_len) ip_hdr, u_int ip_m0_len, 10956 state->hdr = ip_hdr; 11083 info.ip_hlen + info.ip_opt_len, info.ip_hdr, info.ip_m0_len, tcp);
|