Searched refs:tvlv_value_len (Results 1 – 8 of 8) sorted by relevance
/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 | 4228 u16 tvlv_value_len) in batadv_tt_tvlv_ogm_handler_v1() argument 4235 if (tvlv_value_len < sizeof(*tt_data)) in batadv_tt_tvlv_ogm_handler_v1() 4239 tvlv_value_len -= sizeof(*tt_data); in batadv_tt_tvlv_ogm_handler_v1() 4243 if (tvlv_value_len < sizeof(*tt_vlan) * num_vlan) in batadv_tt_tvlv_ogm_handler_v1() 4248 tvlv_value_len -= sizeof(*tt_vlan) * num_vlan; in batadv_tt_tvlv_ogm_handler_v1() 4250 num_entries = batadv_tt_entries(tvlv_value_len); in batadv_tt_tvlv_ogm_handler_v1() 4271 u16 tvlv_value_len) in batadv_tt_tvlv_unicast_handler_v1() argument 4278 if (tvlv_value_len < sizeof(*tt_data)) in batadv_tt_tvlv_unicast_handler_v1() 4282 tvlv_value_len -= sizeof(*tt_data); in batadv_tt_tvlv_unicast_handler_v1() 4287 if (tvlv_value_len < tt_vlan_len) in batadv_tt_tvlv_unicast_handler_v1() [all …]
|
D | multicast.c | 2003 batadv_mcast_tvlv_flags_get(bool enabled, void *tvlv_value, u16 tvlv_value_len) in batadv_mcast_tvlv_flags_get() argument 2007 if (enabled && tvlv_value && tvlv_value_len >= sizeof(mcast_flags)) in batadv_mcast_tvlv_flags_get() 2037 u16 tvlv_value_len) in batadv_mcast_tvlv_ogm_handler() argument 2043 tvlv_value, tvlv_value_len); in batadv_mcast_tvlv_ogm_handler()
|
D | types.h | 2418 u8 flags, void *tvlv_value, u16 tvlv_value_len); 2426 void *tvlv_value, u16 tvlv_value_len);
|
D | distributed-arp-table.c | 779 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
|