Home
last modified time | relevance | path

Searched refs:tvlv_value_len (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/net/batman-adv/
Dtvlv.c239 void *tvlv_value, u16 tvlv_value_len) in batadv_tvlv_container_register() argument
244 tvlv_value_len = 0; in batadv_tvlv_container_register()
246 tvlv_new = kzalloc(sizeof(*tvlv_new) + tvlv_value_len, GFP_ATOMIC); in batadv_tvlv_container_register()
252 tvlv_new->tvlv_hdr.len = htons(tvlv_value_len); in batadv_tvlv_container_register()
323 u16 tvlv_value_len; in batadv_tvlv_container_ogm_append() local
328 tvlv_value_len = batadv_tvlv_container_list_size(bat_priv); in batadv_tvlv_container_ogm_append()
331 packet_min_len, tvlv_value_len); in batadv_tvlv_container_ogm_append()
336 if (!tvlv_value_len) in batadv_tvlv_container_ogm_append()
353 return tvlv_value_len; in batadv_tvlv_container_ogm_append()
376 void *tvlv_value, u16 tvlv_value_len) in batadv_tvlv_call_handler() argument
[all …]
Dtvlv.h30 void *tvlv_value, u16 tvlv_value_len);
45 u16 tvlv_value_len),
49 u16 tvlv_value_len),
60 void *tvlv_value, u16 tvlv_value_len);
Dgateway_common.c230 void *tvlv_value, u16 tvlv_value_len) in batadv_gw_tvlv_ogm_handler_v1() argument
238 tvlv_value_len < sizeof(gateway)) { in batadv_gw_tvlv_ogm_handler_v1()
Dtranslation-table.c4217 u16 tvlv_value_len) in batadv_tt_tvlv_ogm_handler_v1() argument
4224 if (tvlv_value_len < sizeof(*tt_data)) in batadv_tt_tvlv_ogm_handler_v1()
4228 tvlv_value_len -= sizeof(*tt_data); in batadv_tt_tvlv_ogm_handler_v1()
4232 if (tvlv_value_len < sizeof(*tt_vlan) * num_vlan) in batadv_tt_tvlv_ogm_handler_v1()
4237 tvlv_value_len -= sizeof(*tt_vlan) * num_vlan; in batadv_tt_tvlv_ogm_handler_v1()
4239 num_entries = batadv_tt_entries(tvlv_value_len); in batadv_tt_tvlv_ogm_handler_v1()
4260 u16 tvlv_value_len) in batadv_tt_tvlv_unicast_handler_v1() argument
4267 if (tvlv_value_len < sizeof(*tt_data)) in batadv_tt_tvlv_unicast_handler_v1()
4271 tvlv_value_len -= sizeof(*tt_data); in batadv_tt_tvlv_unicast_handler_v1()
4276 if (tvlv_value_len < tt_vlan_len) in batadv_tt_tvlv_unicast_handler_v1()
[all …]
Dtypes.h2367 u8 flags, void *tvlv_value, u16 tvlv_value_len);
2375 void *tvlv_value, u16 tvlv_value_len);
Dmulticast.c1179 u16 tvlv_value_len) in batadv_mcast_tvlv_ogm_handler() argument
1185 tvlv_value_len >= sizeof(mcast_flags)) in batadv_mcast_tvlv_ogm_handler()
Ddistributed-arp-table.c744 void *tvlv_value, u16 tvlv_value_len) in batadv_dat_tvlv_ogm_handler_v1() argument
Dnetwork-coding.c140 void *tvlv_value, u16 tvlv_value_len) in batadv_nc_tvlv_ogm_handler_v1() argument