-/* UDP */
-int pkt_udp_header(struct packet *pkt, unsigned short int sport, unsigned short int dport, unsigned short int udp_total_len, unsigned short int checksum);
-int pkt_udp_cksum(struct packet *pkt, char *saddr, char *daddr, unsigned int udp_total_len);
-
-/* ICMP */
-int pkt_icmp_header(struct packet *pkt, unsigned char type, unsigned char code, unsigned short int checksum);
-int pkt_icmp_cksum(struct packet *pkt, unsigned int len);
-int pkt_icmp_addr_mask(struct packet *pkt, unsigned short int id, unsigned short int seqno, unsigned int mask, char *cmask);
-int pkt_icmp_dest_unreach(struct packet *pkt, unsigned int unused);
-int pkt_icmp_source_quench(struct packet *pkt, unsigned int unused);
-int pkt_icmp_redirect(struct packet *pkt, unsigned int routerip, char *crouterip);
-int pkt_icmp_echo(struct packet *pkt, unsigned short int id, unsigned short int seqno, void *data, size_t data_len);
-int pkt_icmp_timestamp(struct packet *pkt, unsigned short int id, unsigned short int seqno, unsigned int ts_otime, unsigned int ts_rtime, unsigned int ts_ttime);
-