Home
last modified time | relevance | path

Searched refs:sbaddr (Results 1 – 6 of 6) sorted by relevance

/xnu-11215/bsd/skywalk/packet/
H A Dpacket_copy.c109 sbaddr += soff; in pkt_copy_from_pkt()
251 sbaddr = NULL; in _pkt_copyaddr_sum()
293 sbaddr++; in _pkt_copyaddr_sum()
332 sbaddr += clen; in _pkt_copyaddr_sum()
478 sbaddr += clen; in _pkt_copypkt_sum()
508 sbaddr = NULL; in _pkt_copypkt_sum()
560 sbaddr = NULL; in pkt_sum()
615 sbaddr += clen; in pkt_sum()
640 sbaddr = NULL; in pkt_sum()
1071 sbaddr = NULL; in m_copypkt_sum()
[all …]
/xnu-11215/bsd/netinet6/
H A Desp_output.c978 uint8_t *sbaddr = NULL, *dbaddr = NULL; in esp_kpipe_output() local
1003 sbaddr = ipsec_kern_buflet_to_buffer(sbuf); in esp_kpipe_output()
1014 struct ip *ip_hdr = (struct ip *)(void *)sbaddr; in esp_kpipe_output()
1032 struct ip6_hdr *ip6 = (struct ip6_hdr *)sbaddr; in esp_kpipe_output()
1198 esptail = (struct esptail *)(sbaddr + slen + extendsiz - sizeof(struct esptail)); in esp_kpipe_output()
1220 src_payload = sbaddr + iphlen; in esp_kpipe_output()
H A Desp_input.c1737 uint8_t *sbaddr = NULL, *dbaddr = NULL; in esp_kpipe_input() local
1755 sbaddr = ipsec_kern_buflet_to_buffer(sbuf); in esp_kpipe_input()
1763 struct ip *ip_hdr = (struct ip *)(void *)sbaddr; in esp_kpipe_input()
1782 struct ip6_hdr *ip6 = (struct ip6_hdr *)sbaddr; in esp_kpipe_input()
1828 esp = (struct newesp *)(void *)(sbaddr + iphlen); in esp_kpipe_input()
1925 iv = sbaddr + iphlen + sizeof(struct newesp); in esp_kpipe_input()
1960 sbaddr + slen - auth_size) != 0)) { in esp_kpipe_input()
1994 src_payload = sbaddr + iphlen + esphlen; in esp_kpipe_input()
2011 sbaddr + slen - auth_size, e_algo->icvlen)) != 0)) { in esp_kpipe_input()
H A Dipsec.c3337 uint8_t *sbaddr = NULL; in ipsec4_interface_kpipe_output() local
3349 sbaddr = ipsec_kern_buflet_to_buffer(sbuf); in ipsec4_interface_kpipe_output()
3358 struct ip *ip = (struct ip *)(void *)sbaddr; in ipsec4_interface_kpipe_output()
3441 memcpy(dbaddr, sbaddr, hlen); in ipsec4_interface_kpipe_output()
3482 uint8_t *sbaddr = NULL; in ipsec6_interface_kpipe_output() local
3493 sbaddr = ipsec_kern_buflet_to_buffer(sbuf); in ipsec6_interface_kpipe_output()
3502 struct ip6_hdr *ip6 = (struct ip6_hdr *)sbaddr; in ipsec6_interface_kpipe_output()
3578 memcpy(dbaddr, sbaddr, sizeof(struct ip6_hdr)); in ipsec6_interface_kpipe_output()
/xnu-11215/bsd/skywalk/nexus/flowswitch/
H A Dfsw_dp.c2742 uint8_t *sbaddr, *dbaddr; in dp_copy_headers_to_dev() local
2748 MD_BUFLET_ADDR_ABS(spkt, sbaddr); in dp_copy_headers_to_dev()
2749 ASSERT(sbaddr != NULL); in dp_copy_headers_to_dev()
2750 sbaddr += spkt->pkt_headroom; in dp_copy_headers_to_dev()
2757 pkt_copy(sbaddr, dbaddr, hdrs_len_estimate); in dp_copy_headers_to_dev()
/xnu-11215/bsd/net/
H A Dif_ipsec.c690 uint8_t *sbaddr = NULL; in ipsec_encrypt_kpipe_pkt() local
708 sbaddr = ipsec_kern_buflet_to_buffer(sbuf); in ipsec_encrypt_kpipe_pkt()
709 struct ip *ip = (struct ip *)(void *)sbaddr; in ipsec_encrypt_kpipe_pkt()