Searched refs:tvlv_value_len (Results 1 – 8 of 8) sorted by relevance
/net/batman-adv/ |
D | tvlv.c | 233 void *tvlv_value, u16 tvlv_value_len) in batadv_tvlv_container_register() argument 238 tvlv_value_len = 0; in batadv_tvlv_container_register() 240 tvlv_new = kzalloc(sizeof(*tvlv_new) + tvlv_value_len, GFP_ATOMIC); in batadv_tvlv_container_register() 246 tvlv_new->tvlv_hdr.len = htons(tvlv_value_len); in batadv_tvlv_container_register() 317 u16 tvlv_value_len; in batadv_tvlv_container_ogm_append() local 322 tvlv_value_len = batadv_tvlv_container_list_size(bat_priv); in batadv_tvlv_container_ogm_append() 325 packet_min_len, tvlv_value_len); in batadv_tvlv_container_ogm_append() 330 if (!tvlv_value_len) in batadv_tvlv_container_ogm_append() 347 return tvlv_value_len; in batadv_tvlv_container_ogm_append() 369 u16 tvlv_value_len) in batadv_tvlv_call_handler() argument [all …]
|
D | tvlv.h | 18 void *tvlv_value, u16 tvlv_value_len); 33 u16 tvlv_value_len), 37 u16 tvlv_value_len), 50 void *tvlv_value, u16 tvlv_value_len);
|
D | gateway_common.c | 60 void *tvlv_value, u16 tvlv_value_len) in batadv_gw_tvlv_ogm_handler_v1() argument 68 tvlv_value_len < sizeof(gateway)) { in batadv_gw_tvlv_ogm_handler_v1()
|
D | translation-table.c | 3986 u16 tvlv_value_len) in batadv_tt_tvlv_ogm_handler_v1() argument 3993 if (tvlv_value_len < sizeof(*tt_data)) in batadv_tt_tvlv_ogm_handler_v1() 3997 tvlv_value_len -= sizeof(*tt_data); in batadv_tt_tvlv_ogm_handler_v1() 4001 if (tvlv_value_len < sizeof(*tt_vlan) * num_vlan) in batadv_tt_tvlv_ogm_handler_v1() 4006 tvlv_value_len -= sizeof(*tt_vlan) * num_vlan; in batadv_tt_tvlv_ogm_handler_v1() 4008 num_entries = batadv_tt_entries(tvlv_value_len); in batadv_tt_tvlv_ogm_handler_v1() 4029 u16 tvlv_value_len) in batadv_tt_tvlv_unicast_handler_v1() argument 4036 if (tvlv_value_len < sizeof(*tt_data)) in batadv_tt_tvlv_unicast_handler_v1() 4040 tvlv_value_len -= sizeof(*tt_data); in batadv_tt_tvlv_unicast_handler_v1() 4045 if (tvlv_value_len < tt_vlan_len) in batadv_tt_tvlv_unicast_handler_v1() [all …]
|
D | multicast.c | 1750 batadv_mcast_tvlv_flags_get(bool enabled, void *tvlv_value, u16 tvlv_value_len) in batadv_mcast_tvlv_flags_get() argument 1754 if (enabled && tvlv_value && tvlv_value_len >= sizeof(mcast_flags)) in batadv_mcast_tvlv_flags_get() 1784 u16 tvlv_value_len) in batadv_mcast_tvlv_ogm_handler() argument 1790 tvlv_value, tvlv_value_len); in batadv_mcast_tvlv_ogm_handler()
|
D | types.h | 2333 u8 flags, void *tvlv_value, u16 tvlv_value_len); 2341 void *tvlv_value, u16 tvlv_value_len);
|
D | distributed-arp-table.c | 781 void *tvlv_value, u16 tvlv_value_len) in batadv_dat_tvlv_ogm_handler_v1() argument
|
D | network-coding.c | 121 void *tvlv_value, u16 tvlv_value_len) in batadv_nc_tvlv_ogm_handler_v1() argument
|