XINU
|
#include <xinu.h>
Go to the source code of this file.
Functions | |
void | pdump (struct netpacket *pptr) |
void | pdumph (struct netpacket *pptr) |
void pdump | ( | struct netpacket * | pptr | ) |
Definition at line 9 of file pdump.c.
References arppacket::arp_hlen, ARP_HTYPE, arppacket::arp_htype, arppacket::arp_op, ARP_OP_REQ, ARP_OP_RPLY, arppacket::arp_plen, ARP_PTYPE, arppacket::arp_ptype, arppacket::arp_sndha, arppacket::arp_sndpa, arppacket::arp_tarpa, ETH_HDR_LEN, ICMP_ECHOREPLY, ICMP_ECHOREQST, IP_ICMP, IP_UDP, ipcksum(), kprintf(), netpacket::net_ethdst, netpacket::net_ethsrc, netpacket::net_ethtype, netpacket::net_icident, netpacket::net_icseq, netpacket::net_ictype, netpacket::net_ipdst, netpacket::net_ipfrag, netpacket::net_ipid, netpacket::net_iplen, netpacket::net_ipproto, netpacket::net_ipsrc, netpacket::net_iptos, netpacket::net_ipttl, netpacket::net_udpdport, netpacket::net_udplen, netpacket::net_udpsport, ntohl, ntohs, and UDP_HDR_LEN.
void pdumph | ( | struct netpacket * | pptr | ) |
Definition at line 164 of file pdump.c.
References arppacket::arp_hlen, ARP_HTYPE, arppacket::arp_htype, arppacket::arp_op, ARP_OP_REQ, ARP_OP_RPLY, arppacket::arp_plen, ARP_PTYPE, arppacket::arp_ptype, arppacket::arp_sndha, arppacket::arp_sndpa, arppacket::arp_tarpa, ETH_HDR_LEN, icmp_cksum(), ICMP_ECHOREPLY, ICMP_ECHOREQST, IP_HDR_LEN, IP_ICMP, IP_UDP, ipcksum(), kprintf(), netpacket::net_ethdst, netpacket::net_ethsrc, netpacket::net_ethtype, netpacket::net_icident, netpacket::net_icseq, netpacket::net_ictype, netpacket::net_ipdst, netpacket::net_ipfrag, netpacket::net_ipid, netpacket::net_iplen, netpacket::net_ipproto, netpacket::net_ipsrc, netpacket::net_iptos, netpacket::net_ipttl, netpacket::net_udpdport, netpacket::net_udplen, netpacket::net_udpsport, ntohs, and UDP_HDR_LEN.