Go to the source code of this file.
Defines | |
#define | UDP_HDR_LEN 8 |
#define | UDP_PORT_MAX 65535 |
#define | udp_pack_hdr(hdr, sport, dport, ulen) |
|
Definition at line 14 of file udp.h. Referenced by ip6_checksum(), ip_checksum(), and udp_main(). |
|
Value: do { \ struct udp_hdr *udp_pack_p = (struct udp_hdr *)(hdr); \ udp_pack_p->uh_sport = htons(sport); \ udp_pack_p->uh_dport = htons(dport); \ udp_pack_p->uh_ulen = htons(ulen); \ } while (0) Definition at line 25 of file udp.h. Referenced by __pyx_f_4dnet_udp_pack_hdr(). |
|
|