Home
last modified time | relevance | path

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

/xnu-12377.81.4/bsd/netinet/
H A Dudp_var.h74 struct udpiphdr { struct
H A Dudp_usrreq.c1601 struct udpiphdr *ui; in udp_output()
1693 if (len + sizeof(struct udpiphdr) > IP_MAXPACKET) { in udp_output()
1911 M_PREPEND(m, sizeof(struct udpiphdr), M_DONTWAIT, 1); in udp_output()
1922 ui = mtod(m, struct udpiphdr *); in udp_output()
1969 ((struct ip *)ui)->ip_len = (uint16_t)(sizeof(struct udpiphdr) + len); in udp_output()
3037 if ((frame_data_offset + sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
3043 if ((sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
3077 sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
3091 bzero(data, sizeof(struct udpiphdr)); in udp_fill_keepalive_offload_frames()
3095 m->m_len = sizeof(struct udpiphdr); in udp_fill_keepalive_offload_frames()
[all …]
H A Dip_input.c1294 struct udpiphdr *__single ui; in ip_input_first_pass()
1296 if (m->m_len < sizeof(struct udpiphdr) && in ip_input_first_pass()
1297 (m = m_pullup(m, sizeof(struct udpiphdr))) == NULL) { in ip_input_first_pass()
1304 ui = mtod(m, struct udpiphdr *); in ip_input_first_pass()
1420 struct udpiphdr *__single ui; in ip_input_check_interface()
1422 if (m->m_len < sizeof(struct udpiphdr)) { in ip_input_check_interface()
1423 if ((m = m_pullup(m, sizeof(struct udpiphdr))) == NULL) { in ip_input_check_interface()
1434 ui = mtod(m, struct udpiphdr *); in ip_input_check_interface()
/xnu-12377.81.4/bsd/netinet6/
H A Dipsec.c5205 m->m_len = sizeof(struct udpiphdr) + 1; in ipsec_send_natt_keepalive()
5364 frame_data_len = sizeof(struct udpiphdr) + 1; in ipsec_fill_offload_frame()
5474 ip->ip_len = htons(sizeof(struct udpiphdr) + 1); in ipsec_fill_offload_frame()