Searched refs:tvlv_value_len (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/net/batman-adv/ |
D | tvlv.c | 227 void *tvlv_value, u16 tvlv_value_len) in batadv_tvlv_container_register() argument 232 tvlv_value_len = 0; in batadv_tvlv_container_register() 234 tvlv_new = kzalloc(sizeof(*tvlv_new) + tvlv_value_len, GFP_ATOMIC); in batadv_tvlv_container_register() 240 tvlv_new->tvlv_hdr.len = htons(tvlv_value_len); in batadv_tvlv_container_register() 311 u16 tvlv_value_len; in batadv_tvlv_container_ogm_append() local 316 tvlv_value_len = batadv_tvlv_container_list_size(bat_priv); in batadv_tvlv_container_ogm_append() 319 packet_min_len, tvlv_value_len); in batadv_tvlv_container_ogm_append() 324 if (!tvlv_value_len) in batadv_tvlv_container_ogm_append() 341 return tvlv_value_len; in batadv_tvlv_container_ogm_append() 364 void *tvlv_value, u16 tvlv_value_len) in batadv_tvlv_call_handler() argument [all …]
|
D | tvlv.h | 17 void *tvlv_value, u16 tvlv_value_len); 32 u16 tvlv_value_len), 36 u16 tvlv_value_len), 47 void *tvlv_value, u16 tvlv_value_len);
|
D | gateway_common.c | 220 void *tvlv_value, u16 tvlv_value_len) in batadv_gw_tvlv_ogm_handler_v1() argument 228 tvlv_value_len < sizeof(gateway)) { in batadv_gw_tvlv_ogm_handler_v1()
|
D | translation-table.c | 4227 u16 tvlv_value_len) in batadv_tt_tvlv_ogm_handler_v1() argument 4234 if (tvlv_value_len < sizeof(*tt_data)) in batadv_tt_tvlv_ogm_handler_v1() 4238 tvlv_value_len -= sizeof(*tt_data); in batadv_tt_tvlv_ogm_handler_v1() 4242 if (tvlv_value_len < sizeof(*tt_vlan) * num_vlan) in batadv_tt_tvlv_ogm_handler_v1() 4247 tvlv_value_len -= sizeof(*tt_vlan) * num_vlan; in batadv_tt_tvlv_ogm_handler_v1() 4249 num_entries = batadv_tt_entries(tvlv_value_len); in batadv_tt_tvlv_ogm_handler_v1() 4270 u16 tvlv_value_len) in batadv_tt_tvlv_unicast_handler_v1() argument 4277 if (tvlv_value_len < sizeof(*tt_data)) in batadv_tt_tvlv_unicast_handler_v1() 4281 tvlv_value_len -= sizeof(*tt_data); in batadv_tt_tvlv_unicast_handler_v1() 4286 if (tvlv_value_len < tt_vlan_len) in batadv_tt_tvlv_unicast_handler_v1() [all …]
|
D | types.h | 2412 u8 flags, void *tvlv_value, u16 tvlv_value_len); 2420 void *tvlv_value, u16 tvlv_value_len);
|
D | multicast.c | 1972 batadv_mcast_tvlv_flags_get(bool enabled, void *tvlv_value, u16 tvlv_value_len) in batadv_mcast_tvlv_flags_get() argument 1976 if (enabled && tvlv_value && tvlv_value_len >= sizeof(mcast_flags)) in batadv_mcast_tvlv_flags_get() 2006 u16 tvlv_value_len) in batadv_mcast_tvlv_ogm_handler() argument 2012 tvlv_value, tvlv_value_len); in batadv_mcast_tvlv_ogm_handler()
|
D | distributed-arp-table.c | 778 void *tvlv_value, u16 tvlv_value_len) in batadv_dat_tvlv_ogm_handler_v1() argument
|
D | network-coding.c | 128 void *tvlv_value, u16 tvlv_value_len) in batadv_nc_tvlv_ogm_handler_v1() argument
|