• Home
  • Raw
  • Download

Lines Matching refs:tvlv_value_len

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
378 tvlv_value, tvlv_value_len); in batadv_tvlv_call_handler()
392 tvlv_value_len); in batadv_tvlv_call_handler()
416 void *tvlv_value, u16 tvlv_value_len) in batadv_tvlv_containers_process() argument
424 while (tvlv_value_len >= sizeof(*tvlv_hdr)) { in batadv_tvlv_containers_process()
428 tvlv_value_len -= sizeof(*tvlv_hdr); in batadv_tvlv_containers_process()
430 if (tvlv_value_cont_len > tvlv_value_len) in batadv_tvlv_containers_process()
444 tvlv_value_len -= tvlv_value_cont_len; in batadv_tvlv_containers_process()
477 u16 tvlv_value_len; in batadv_tvlv_ogm_receive() local
482 tvlv_value_len = ntohs(batadv_ogm_packet->tvlv_len); in batadv_tvlv_ogm_receive()
483 if (!tvlv_value_len) in batadv_tvlv_ogm_receive()
489 tvlv_value, tvlv_value_len); in batadv_tvlv_ogm_receive()
511 u16 tvlv_value_len), in batadv_tvlv_handler_register() argument
515 u16 tvlv_value_len), in batadv_tvlv_handler_register()
587 void *tvlv_value, u16 tvlv_value_len) in batadv_tvlv_unicast_send() argument
601 tvlv_len = sizeof(*tvlv_hdr) + tvlv_value_len; in batadv_tvlv_unicast_send()
624 tvlv_hdr->len = htons(tvlv_value_len); in batadv_tvlv_unicast_send()
626 memcpy(tvlv_buff, tvlv_value, tvlv_value_len); in batadv_tvlv_unicast_send()