Searched refs:icmp_echo_packet_t (Results 1 – 2 of 2) sorted by relevance
/dports/net/ptunnel/PingTunnel/ |
H A D | ptunnel.h | 248 } __attribute__ ((packed)) icmp_echo_packet_t; typedef 295 icmp_echo_packet_t *pkt; 403 …void handle_data(icmp_echo_packet_t *pkt, int total_len, forward_desc_t *ring[], int *await_send,…
|
H A D | ptunnel.c | 933 icmp_echo_packet_t *pkt; in handle_packet() 940 if (bytes < sizeof(icmp_echo_packet_t)+sizeof(ping_tunnel_pkt_t)) in handle_packet() 941 …Expect: %d+%d = %d ; Got: %d\n", sizeof(icmp_echo_packet_t), sizeof(ping_tunnel_pkt_t), sizeof(icm… in handle_packet() 945 pkt = (icmp_echo_packet_t*)buf; in handle_packet() 950 pkt = (icmp_echo_packet_t*)ip_pkt->data; in handle_packet() 1208 …int pkt_len = sizeof(ip_packet_t)+sizeof(icmp_echo_packet_t)+sizeof(ping_tunnel_pkt_t)+num_byt… in queue_packet() 1210 int pkt_len = sizeof(icmp_echo_packet_t)+sizeof(ping_tunnel_pkt_t)+num_bytes, in queue_packet() 1213 icmp_echo_packet_t *pkt = 0; in queue_packet() 1224 pkt = (icmp_echo_packet_t*)ip_pkt->data; in queue_packet() 1345 void handle_data(icmp_echo_packet_t *pkt, int total_len, forward_desc_t *ring[], int *await_send, … in handle_data() [all …]
|