Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

udp.h File Reference

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)


Define Documentation

#define UDP_HDR_LEN   8
 

Definition at line 14 of file udp.h.

Referenced by ip6_checksum(), ip_checksum(), and udp_main().

#define udp_pack_hdr hdr,
sport,
dport,
ulen   ) 
 

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().

#define UDP_PORT_MAX   65535
 

Definition at line 23 of file udp.h.


Generated on Sun May 14 14:51:21 2006 by  doxygen 1.4.2