Searched refs:uh_ulen (Results 1 – 12 of 12) sorted by relevance
| /xnu-8796.121.2/bsd/netinet/ |
| H A D | udp.h | 82 u_short uh_ulen; /* udp length */ member
|
| H A D | udp_var.h | 85 #define ui_ulen ui_u.uh_ulen
|
| H A D | udp_usrreq.c | 355 ip->ip_src.s_addr, ip->ip_dst.s_addr, uh->uh_ulen); in udp_input() 361 len = ntohs((u_short)uh->uh_ulen); in udp_input() 749 save_ip.ip_src.s_addr, save_ip.ip_dst.s_addr, uh->uh_ulen); in udp_input() 2806 ipov->ih_len = uh->uh_ulen; in udp_input_checksum() 2977 udp->uh_ulen = htons(sizeof(struct udphdr) + in udp_fill_keepalive_offload_frames() 3052 udp6->uh_ulen = htons(sizeof(struct udphdr) + in udp_fill_keepalive_offload_frames()
|
| H A D | ip_compat.h | 556 __u16 uh_ulen;
|
| /xnu-8796.121.2/bsd/netinet6/ |
| H A D | esp_output.c | 894 udp->uh_ulen = htons((u_int16_t)(ntohs(ip->ip_len) - (IP_VHL_HL(ip->ip_vhl) << 2))); in esp_output() 899 udp->uh_ulen = htons((u_int16_t)(plen + siz + extendsiz + esphlen)); in esp_output() 900 udp->uh_sum = in6_pseudo(&ip6->ip6_src, &ip6->ip6_dst, htonl(ntohs(udp->uh_ulen) + IPPROTO_UDP)); in esp_output()
|
| H A D | udp6_output.c | 419 udp6->uh_ulen = htons((u_short)plen); in udp6_output() 421 udp6->uh_ulen = 0; in udp6_output()
|
| H A D | udp6_usrreq.c | 278 ulen = ntohs((u_short)uh->uh_ulen); in udp6_input()
|
| H A D | ipsec.c | 4944 uh->uh_ulen = htons(1 + sizeof(*uh)); in ipsec_send_natt_keepalive() 5017 uh->uh_ulen = htons(1 + sizeof(*uh)); in ipsec_send_natt_keepalive() 5019 uh->uh_sum = in6_pseudo(&ip6->ip6_src, &ip6->ip6_dst, htonl(ntohs(uh->uh_ulen) + IPPROTO_UDP)); in ipsec_send_natt_keepalive() 5131 uh->uh_ulen = htons(1 + sizeof(*uh)); in ipsec_fill_offload_frame()
|
| /xnu-8796.121.2/tests/ |
| H A D | net_bridge.c | 839 udp_len = ntohs(ip_udp->udp.uh_ulen); in ip_frame_validate() 887 udp_len = ntohs(ip6_udp->udp.uh_ulen); in ip6_frame_validate() 1026 ip_udp->udp.uh_ulen = htons(sizeof(ip_udp->udp) + data_len); in ethernet_udp4_frame_populate() 1095 ip6_udp->udp.uh_ulen = htons(sizeof(ip6_udp->udp) + data_len); in ethernet_udp6_frame_populate() 1245 udp_len = ntohs(ip_udp->udp.uh_ulen); in ethernet_frame_get_udp4_payload() 1291 udp_len = ntohs(ip6_udp->udp.uh_ulen); in ethernet_frame_get_udp6_payload()
|
| /xnu-8796.121.2/osfmk/kdp/ |
| H A D | kdp_udp.c | 119 short uh_ulen; /* udp length */ member 136 #define ui_ulen ui_u.uh_ulen
|
| /xnu-8796.121.2/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_track.c | 969 uh->uh_ulen = htons(ulen); in flow_track_abort_quic()
|
| /xnu-8796.121.2/bsd/net/ |
| H A D | pf.c | 6101 offx += pd->hdr.udp->uh_ulen << 2; in pf_test_rule() 7730 sk->app_state->handler(*state, direction, off + uh->uh_ulen, in pf_test_state_udp() 9864 if (ntohs(uh.uh_ulen) > pbuf->pb_packet_len - off || in pf_test() 9865 ntohs(uh.uh_ulen) < sizeof(struct udphdr)) { in pf_test() 10521 if (ntohs(uh.uh_ulen) > pbuf->pb_packet_len - off || in pf_test6() 10522 ntohs(uh.uh_ulen) < sizeof(struct udphdr)) { in pf_test6()
|