| H A D | tvlv.c | 232 * @tvlv_value_len: tvlv container content length 239 void *tvlv_value, u16 tvlv_value_len) in batadv_tvlv_container_register() argument 245 tvlv_value_len = 0; in batadv_tvlv_container_register() 247 tvlv_new = kzalloc(sizeof(*tvlv_new) + tvlv_value_len, GFP_ATOMIC); in batadv_tvlv_container_register() 253 tvlv_new->tvlv_hdr.len = htons(tvlv_value_len); in batadv_tvlv_container_register() 337 size_t tvlv_value_len; in batadv_tvlv_container_ogm_append() local 343 tvlv_value_len = batadv_tvlv_container_list_size(bat_priv); in batadv_tvlv_container_ogm_append() 344 if (tvlv_value_len > U16_MAX) { in batadv_tvlv_container_ogm_append() 349 ret = batadv_tvlv_realloc_packet_buff(ogm_buff, tvlv_value_len); in batadv_tvlv_container_ogm_append() 355 tvlv_len_ret = tvlv_value_len; in batadv_tvlv_container_ogm_append() 398 batadv_tvlv_call_handler(struct batadv_priv * bat_priv,struct batadv_tvlv_handler * tvlv_handler,u8 packet_type,struct batadv_orig_node * orig_node,struct sk_buff * skb,void * tvlv_value,u16 tvlv_value_len) batadv_tvlv_call_handler() argument 465 batadv_tvlv_hdr_next(void ** tvlv_value,u16 * tvlv_value_len) batadv_tvlv_hdr_next() argument 509 batadv_tvlv_containers_contain(void * tvlv_value,u16 tvlv_value_len,u8 type,u8 version) batadv_tvlv_containers_contain() argument 540 batadv_tvlv_containers_process(struct batadv_priv * bat_priv,u8 packet_type,struct batadv_orig_node * orig_node,struct sk_buff * skb,void * tvlv_value,u16 tvlv_value_len) batadv_tvlv_containers_process() argument 609 u16 tvlv_value_len; batadv_tvlv_ogm_receive() local 648 batadv_tvlv_handler_register(struct batadv_priv * bat_priv,void (* optr)(struct batadv_priv * bat_priv,struct batadv_orig_node * orig,u8 flags,void * tvlv_value,u16 tvlv_value_len),int (* uptr)(struct batadv_priv * bat_priv,u8 * src,u8 * dst,void * tvlv_value,u16 tvlv_value_len),int (* mptr)(struct batadv_priv * bat_priv,struct sk_buff * skb),u8 type,u8 version,u8 flags) batadv_tvlv_handler_register() argument 727 batadv_tvlv_unicast_send(struct batadv_priv * bat_priv,const u8 * src,const u8 * dst,u8 type,u8 version,void * tvlv_value,u16 tvlv_value_len) batadv_tvlv_unicast_send() argument [all...] |