Home
last modified time | relevance | path

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

/xnu-12377.1.9/bsd/netinet/
H A Dudp_usrreq.c1564 struct udpiphdr *ui; in udp_output()
1656 if (len + sizeof(struct udpiphdr) > IP_MAXPACKET) { in udp_output()
1874 M_PREPEND(m, sizeof(struct udpiphdr), M_DONTWAIT, 1); in udp_output()
1885 ui = mtod(m, struct udpiphdr *); in udp_output()
1932 ((struct ip *)ui)->ip_len = (uint16_t)(sizeof(struct udpiphdr) + len); in udp_output()
3000 if ((frame_data_offset + sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
3006 if ((sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
3040 sizeof(struct udpiphdr) + in udp_fill_keepalive_offload_frames()
3054 bzero(data, sizeof(struct udpiphdr)); in udp_fill_keepalive_offload_frames()
3058 m->m_len = sizeof(struct udpiphdr); in udp_fill_keepalive_offload_frames()
[all …]
H A Dudp_var.h74 struct udpiphdr { struct
H A Dip_input.c1273 struct udpiphdr *__single ui; in ip_input_first_pass()
1275 if (m->m_len < sizeof(struct udpiphdr) && in ip_input_first_pass()
1276 (m = m_pullup(m, sizeof(struct udpiphdr))) == NULL) { in ip_input_first_pass()
1283 ui = mtod(m, struct udpiphdr *); in ip_input_first_pass()
1393 struct udpiphdr *__single ui; in ip_input_check_interface()
1395 if (m->m_len < sizeof(struct udpiphdr)) { in ip_input_check_interface()
1396 if ((m = m_pullup(m, sizeof(struct udpiphdr))) == NULL) { in ip_input_check_interface()
1407 ui = mtod(m, struct udpiphdr *); in ip_input_check_interface()
/xnu-12377.1.9/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()