Lines Matching refs:tvlv_value_len

239 				    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
390 tvlv_value, tvlv_value_len); in batadv_tvlv_call_handler()
404 tvlv_value_len); in batadv_tvlv_call_handler()
428 void *tvlv_value, u16 tvlv_value_len) in batadv_tvlv_containers_process() argument
436 while (tvlv_value_len >= sizeof(*tvlv_hdr)) { in batadv_tvlv_containers_process()
440 tvlv_value_len -= sizeof(*tvlv_hdr); in batadv_tvlv_containers_process()
442 if (tvlv_value_cont_len > tvlv_value_len) in batadv_tvlv_containers_process()
456 tvlv_value_len -= tvlv_value_cont_len; in batadv_tvlv_containers_process()
489 u16 tvlv_value_len; in batadv_tvlv_ogm_receive() local
494 tvlv_value_len = ntohs(batadv_ogm_packet->tvlv_len); in batadv_tvlv_ogm_receive()
495 if (!tvlv_value_len) in batadv_tvlv_ogm_receive()
501 tvlv_value, tvlv_value_len); in batadv_tvlv_ogm_receive()
523 u16 tvlv_value_len), in batadv_tvlv_handler_register() argument
527 u16 tvlv_value_len), in batadv_tvlv_handler_register()
599 void *tvlv_value, u16 tvlv_value_len) in batadv_tvlv_unicast_send() argument
613 tvlv_len = sizeof(*tvlv_hdr) + tvlv_value_len; in batadv_tvlv_unicast_send()
636 tvlv_hdr->len = htons(tvlv_value_len); in batadv_tvlv_unicast_send()
638 memcpy(tvlv_buff, tvlv_value, tvlv_value_len); in batadv_tvlv_unicast_send()