• Home
  • Raw
  • Download

Lines Matching refs:hdr_size

347 	int hdr_size = sizeof(struct batadv_icmp_header);  in batadv_recv_icmp_packet()  local
351 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_recv_icmp_packet()
438 struct sk_buff *skb, int hdr_size) in batadv_check_unicast_packet() argument
443 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_check_unicast_packet()
901 int check, hdr_size = sizeof(*unicast_packet); in batadv_recv_unhandled_unicast_packet() local
903 check = batadv_check_unicast_packet(bat_priv, skb, hdr_size); in batadv_recv_unhandled_unicast_packet()
923 int check, hdr_size = sizeof(*unicast_packet); in batadv_recv_unicast_packet() local
933 hdr_size = sizeof(*unicast_4addr_packet); in batadv_recv_unicast_packet()
936 check = batadv_check_unicast_packet(bat_priv, skb, hdr_size); in batadv_recv_unicast_packet()
946 if (!batadv_check_unicast_ttvn(bat_priv, skb, hdr_size)) in batadv_recv_unicast_packet()
969 hdr_size)) in batadv_recv_unicast_packet()
972 hdr_size)) in batadv_recv_unicast_packet()
975 batadv_interface_rx(recv_if->soft_iface, skb, hdr_size, in batadv_recv_unicast_packet()
1003 int hdr_size = sizeof(*unicast_tvlv_packet); in batadv_recv_unicast_tvlv() local
1006 if (batadv_check_unicast_packet(bat_priv, skb, hdr_size) < 0) in batadv_recv_unicast_tvlv()
1010 if (skb_cow(skb, hdr_size) < 0) in batadv_recv_unicast_tvlv()
1019 tvlv_buff = (unsigned char *)(skb->data + hdr_size); in batadv_recv_unicast_tvlv()
1022 if (tvlv_buff_len > skb->len - hdr_size) in batadv_recv_unicast_tvlv()
1105 int hdr_size = sizeof(*bcast_packet); in batadv_recv_bcast_packet() local
1111 if (unlikely(!pskb_may_pull(skb, hdr_size))) in batadv_recv_bcast_packet()
1178 if (batadv_bla_is_backbone_gw(skb, orig_node, hdr_size)) in batadv_recv_bcast_packet()
1181 if (batadv_dat_snoop_incoming_arp_request(bat_priv, skb, hdr_size)) in batadv_recv_bcast_packet()
1183 if (batadv_dat_snoop_incoming_arp_reply(bat_priv, skb, hdr_size)) in batadv_recv_bcast_packet()
1187 batadv_interface_rx(recv_if->soft_iface, skb, hdr_size, orig_node); in batadv_recv_bcast_packet()