Searched refs:l2_hdr (Results 1 – 7 of 7) sorted by relevance
30 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member77 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument87 l2->l2_hdr = l2_hdr; in l2_packet_init()
33 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member51 if (l2->l2_hdr) { in l2_packet_send()97 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument109 l2->l2_hdr = l2_hdr; in l2_packet_init()111 l2->fd = socket(PF_PACKET, l2_hdr ? SOCK_RAW : SOCK_DGRAM, in l2_packet_init()
44 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls member92 if (l2->l2_hdr) { in l2_packet_send()139 if (l2->l2_hdr) { in l2_packet_receive()164 if (l2->l2_hdr) { in l2_packet_receive_cb()288 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument298 l2->l2_hdr = l2_hdr; in l2_packet_init()
42 int l2_hdr; /* whether to include layer 2 (Ethernet) header data member57 if (!l2->l2_hdr) { in l2_packet_send()90 if (l2->l2_hdr) { in l2_packet_receive()203 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument213 l2->l2_hdr = l2_hdr; in l2_packet_init()
61 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls to member87 if (l2->l2_hdr) { in l2_packet_send()118 if (l2->l2_hdr) { in l2_packet_receive_cb()208 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument223 l2->l2_hdr = l2_hdr; in l2_packet_init()
79 int l2_hdr; /* whether to include layer 2 (Ethernet) header in calls to member118 if (l2->l2_hdr) { in l2_packet_send()288 if (l2->l2_hdr || l2->rx_written < sizeof(*ethhdr)) { in l2_packet_callback()352 void *rx_callback_ctx, int l2_hdr) in l2_packet_init() argument377 l2->l2_hdr = l2_hdr; in l2_packet_init()
80 void *rx_callback_ctx, int l2_hdr);