Home
last modified time | relevance | path

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

/xnu-8792.41.9/bsd/netinet/
H A Dudp_var.h74 struct udpiphdr { struct
H A Dudp_usrreq.c1488 struct udpiphdr *ui; in udp_output()
1582 if (len + sizeof(struct udpiphdr) > IP_MAXPACKET) { in udp_output()
1798 M_PREPEND(m, sizeof(struct udpiphdr), M_DONTWAIT, 1); in udp_output()
1808 ui = mtod(m, struct udpiphdr *); in udp_output()
1855 ((struct ip *)ui)->ip_len = (uint16_t)(sizeof(struct udpiphdr) + len); in udp_output()
2892 if ((frame_data_offset + sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
2898 if ((sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
2932 sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
2946 bzero(data, sizeof(struct udpiphdr)); in udp_fill_keepalive_offload_frames()
2950 m->m_len = sizeof(struct udpiphdr); in udp_fill_keepalive_offload_frames()
[all …]
H A Dip_input.c1241 struct udpiphdr *ui; in ip_input_first_pass()
1243 if (m->m_len < sizeof(struct udpiphdr) && in ip_input_first_pass()
1244 (m = m_pullup(m, sizeof(struct udpiphdr))) == NULL) { in ip_input_first_pass()
1251 ui = mtod(m, struct udpiphdr *); in ip_input_first_pass()
1366 struct udpiphdr *ui; in ip_input_check_interface()
1368 if (m->m_len < sizeof(struct udpiphdr)) { in ip_input_check_interface()
1369 if ((m = m_pullup(m, sizeof(struct udpiphdr))) == NULL) { in ip_input_check_interface()
1380 ui = mtod(m, struct udpiphdr *); in ip_input_check_interface()
/xnu-8792.41.9/bsd/netinet6/
H A Dipsec.c4923 m->m_len = sizeof(struct udpiphdr) + 1; in ipsec_send_natt_keepalive()
5077 if (frame_data_offset + sizeof(struct udpiphdr) + 1 > in ipsec_fill_offload_frame()
5087 frame->length = (u_int8_t)(frame_data_offset + sizeof(struct udpiphdr) + 1); in ipsec_fill_offload_frame()
5107 ip->ip_len = htons(sizeof(struct udpiphdr) + 1); in ipsec_fill_offload_frame()