Searched refs:uh_ulen (Results 1 – 13 of 13) sorted by relevance
| /xnu-10063.141.1/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 | 367 ip->ip_src.s_addr, ip->ip_dst.s_addr, uh->uh_ulen); in udp_input() 373 len = ntohs((u_short)uh->uh_ulen); in udp_input() 761 save_ip.ip_src.s_addr, save_ip.ip_dst.s_addr, uh->uh_ulen); in udp_input() 2861 ipov->ih_len = uh->uh_ulen; in udp_input_checksum() 3032 udp->uh_ulen = htons(sizeof(struct udphdr) + in udp_fill_keepalive_offload_frames() 3107 udp6->uh_ulen = htons(sizeof(struct udphdr) + in udp_fill_keepalive_offload_frames()
|
| H A D | ip_compat.h | 556 __u16 uh_ulen;
|
| /xnu-10063.141.1/tests/ |
| H A D | net_test_lib.c | 116 ip_udp->udp.uh_ulen = htons(sizeof(ip_udp->udp) + data_len); in ethernet_udp4_frame_populate() 185 ip6_udp->udp.uh_ulen = htons(sizeof(ip6_udp->udp) + data_len); in ethernet_udp6_frame_populate()
|
| H A D | net_bridge.c | 742 udp_len = ntohs(ip_udp->udp.uh_ulen); in ip_frame_validate() 790 udp_len = ntohs(ip6_udp->udp.uh_ulen); in ip6_frame_validate() 1016 udp_len = ntohs(ip_udp->udp.uh_ulen); in ethernet_frame_get_udp4_payload() 1062 udp_len = ntohs(ip6_udp->udp.uh_ulen); in ethernet_frame_get_udp6_payload()
|
| /xnu-10063.141.1/bsd/netinet6/ |
| H A D | udp6_output.c | 421 udp6->uh_ulen = htons((u_short)plen); in udp6_output() 423 udp6->uh_ulen = 0; in udp6_output()
|
| H A D | esp_output.c | 898 udp->uh_ulen = htons((u_int16_t)(ntohs(ip->ip_len) - (IP_VHL_HL(ip->ip_vhl) << 2))); in esp_output() 903 udp->uh_ulen = htons((u_int16_t)(plen + siz + extendsiz + esphlen)); in esp_output() 904 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_usrreq.c | 281 ulen = ntohs((u_short)uh->uh_ulen); in udp6_input()
|
| H A D | ipsec.c | 5245 uh->uh_ulen = htons(1 + sizeof(*uh)); in ipsec_send_natt_keepalive() 5318 uh->uh_ulen = htons(1 + sizeof(*uh)); in ipsec_send_natt_keepalive() 5320 uh->uh_sum = in6_pseudo(&ip6->ip6_src, &ip6->ip6_dst, htonl(ntohs(uh->uh_ulen) + IPPROTO_UDP)); in ipsec_send_natt_keepalive() 5432 uh->uh_ulen = htons(1 + sizeof(*uh)); in ipsec_fill_offload_frame()
|
| /xnu-10063.141.1/osfmk/kdp/ |
| H A D | kdp_udp.c | 121 short uh_ulen; /* udp length */ member 138 #define ui_ulen ui_u.uh_ulen
|
| /xnu-10063.141.1/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_track.c | 983 uh->uh_ulen = htons(ulen); in flow_track_abort_quic()
|
| /xnu-10063.141.1/bsd/net/ |
| H A D | pf.c | 6157 offx += pd->hdr.udp->uh_ulen << 2; in pf_test_rule() 7786 sk->app_state->handler(*state, direction, off + uh->uh_ulen, in pf_test_state_udp() 9918 if (ntohs(uh.uh_ulen) > pbuf->pb_packet_len - off || in pf_test() 9919 ntohs(uh.uh_ulen) < sizeof(struct udphdr)) { in pf_test() 10575 if (ntohs(uh.uh_ulen) > pbuf->pb_packet_len - off || in pf_test6() 10576 ntohs(uh.uh_ulen) < sizeof(struct udphdr)) { in pf_test6()
|