/net/batman-adv/ |
H A D | distributed-arp-table.c | 148 * @hdr_size: size of the possible header before the ARP packet 152 static uint8_t *batadv_arp_hw_src(struct sk_buff *skb, int hdr_size) argument 156 addr = (uint8_t *)(skb->data + hdr_size); 165 * @hdr_size: size of the possible header before the ARP packet 169 static __be32 batadv_arp_ip_src(struct sk_buff *skb, int hdr_size) argument 171 return *(__be32 *)(batadv_arp_hw_src(skb, hdr_size) + ETH_ALEN); 177 * @hdr_size: size of the possible header before the ARP packet 181 static uint8_t *batadv_arp_hw_dst(struct sk_buff *skb, int hdr_size) argument 183 return batadv_arp_hw_src(skb, hdr_size) + ETH_ALEN + 4; 189 * @hdr_size 193 batadv_arp_ip_dst(struct sk_buff *skb, int hdr_size) argument 327 batadv_dbg_arp(struct batadv_priv *bat_priv, struct sk_buff *skb, uint16_t type, int hdr_size, char *msg) argument 394 batadv_dbg_arp(struct batadv_priv *bat_priv, struct sk_buff *skb, uint16_t type, int hdr_size, char *msg) argument 801 batadv_arp_get_type(struct batadv_priv *bat_priv, struct sk_buff *skb, int hdr_size) argument 875 batadv_dat_get_vid(struct sk_buff *skb, int *hdr_size) argument 911 int hdr_size = 0; local 990 batadv_dat_snoop_incoming_arp_request(struct batadv_priv *bat_priv, struct sk_buff *skb, int hdr_size) argument 1074 int hdr_size = 0; local 1110 batadv_dat_snoop_incoming_arp_reply(struct batadv_priv *bat_priv, struct sk_buff *skb, int hdr_size) argument 1168 int hdr_size = sizeof(struct batadv_bcast_packet); local [all...] |
H A D | distributed-arp-table.h | 37 struct sk_buff *skb, int hdr_size); 41 struct sk_buff *skb, int hdr_size); 116 struct sk_buff *skb, int hdr_size) 130 struct sk_buff *skb, int hdr_size) 115 batadv_dat_snoop_incoming_arp_request(struct batadv_priv *bat_priv, struct sk_buff *skb, int hdr_size) argument 129 batadv_dat_snoop_incoming_arp_reply(struct batadv_priv *bat_priv, struct sk_buff *skb, int hdr_size) argument
|
H A D | soft-interface.h | 24 int hdr_size, struct batadv_orig_node *orig_node);
|
H A D | bridge_loop_avoidance.h | 27 struct batadv_orig_node *orig_node, int hdr_size); 59 int hdr_size) 57 batadv_bla_is_backbone_gw(struct sk_buff *skb, struct batadv_orig_node *orig_node, int hdr_size) argument
|
H A D | fragmentation.c | 134 uint16_t seqno, hdr_size = sizeof(struct batadv_frag_packet); local 163 chain->size = skb->len - hdr_size; 179 chain->size += skb->len - hdr_size; 192 chain->size += skb->len - hdr_size; 237 int size, hdr_size = sizeof(struct batadv_frag_packet); local 263 skb_pull_rcsum(skb_out, hdr_size); 271 size = entry->skb->len - hdr_size; 272 memcpy(skb_put(skb_out, size), entry->skb->data + hdr_size,
|
H A D | routing.c | 304 int hdr_size = sizeof(struct batadv_icmp_header); local 308 if (unlikely(!pskb_may_pull(skb, hdr_size))) 384 * @hdr_size: size of header to pull 392 struct sk_buff *skb, int hdr_size) 397 if (unlikely(!pskb_may_pull(skb, hdr_size))) 799 int check, hdr_size = sizeof(*unicast_packet); local 801 check = batadv_check_unicast_packet(bat_priv, skb, hdr_size); 821 int check, hdr_size = sizeof(*unicast_packet); local 830 hdr_size = sizeof(*unicast_4addr_packet); 833 check = batadv_check_unicast_packet(bat_priv, skb, hdr_size); 391 batadv_check_unicast_packet(struct batadv_priv *bat_priv, struct sk_buff *skb, int hdr_size) argument 891 int hdr_size = sizeof(*unicast_tvlv_packet); local 991 int hdr_size = sizeof(*bcast_packet); local [all...] |
H A D | send.c | 147 * @hdr_size: amount of bytes to push at the beginning of the skb 153 batadv_send_skb_push_fill_unicast(struct sk_buff *skb, int hdr_size, argument 159 if (batadv_skb_head_push(skb, hdr_size) < 0)
|
H A D | soft-interface.c | 351 int hdr_size, struct batadv_orig_node *orig_node) 365 if (!pskb_may_pull(skb, hdr_size)) 368 skb_pull_rcsum(skb, hdr_size); 349 batadv_interface_rx(struct net_device *soft_iface, struct sk_buff *skb, struct batadv_hard_iface *recv_if, int hdr_size, struct batadv_orig_node *orig_node) argument
|
H A D | translation-table.c | 447 int hdr_size; local 457 hdr_size = sizeof(struct batadv_unicast_tvlv_packet); 458 hdr_size += sizeof(struct batadv_tvlv_hdr); 459 hdr_size += sizeof(struct batadv_tvlv_tt_data); 460 hdr_size += num_vlan * sizeof(struct batadv_tvlv_tt_vlan_data); 462 return hdr_size + batadv_tt_len(tt_local_entries);
|
H A D | bridge_loop_avoidance.c | 1394 * @hdr_size: maximum length of the frame 1401 struct batadv_orig_node *orig_node, int hdr_size) 1410 if (!pskb_may_pull(skb, hdr_size + ETH_HLEN)) 1413 vid = batadv_get_vid(skb, hdr_size); 1400 batadv_bla_is_backbone_gw(struct sk_buff *skb, struct batadv_orig_node *orig_node, int hdr_size) argument
|
H A D | network-coding.c | 1772 int hdr_size = sizeof(*coded_packet); local 1779 if (unlikely(!pskb_may_pull(skb, hdr_size)))
|
/net/tipc/ |
H A D | link.c | 1064 u32 hdr_size; local 1084 hdr_size = msg_hdr_sz(msg); 1088 if (unlikely((hdr_size < min_hdr_size) || 1089 (size < hdr_size) || 1091 (size - hdr_size > TIPC_MAX_USER_MSG_SIZE))) 1094 return pskb_may_pull(buf, hdr_size);
|
/net/bluetooth/ |
H A D | l2cap_core.c | 5684 int hdr_size; local 5687 hdr_size = L2CAP_EXT_HDR_SIZE; 5689 hdr_size = L2CAP_ENH_HDR_SIZE; 5694 our_fcs = crc16(0, skb->data - hdr_size, skb->len + hdr_size);
|