Searched refs:eth_frame (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/wifi/ |
A D | wifi_promisc.c | 111 struct eth_frame { struct 112 struct eth_frame *prev; argument 113 struct eth_frame *next; argument 146 struct eth_frame *head; 147 struct eth_frame *tail; 266 struct eth_frame *frame = (struct eth_frame *) rtw_malloc(sizeof(struct eth_frame)); in promisc_callback() 294 struct eth_frame* retrieve_frame(void) in retrieve_frame() 296 struct eth_frame *frame = NULL; in retrieve_frame() 324 struct eth_frame *frame; in promisc_test() 391 struct eth_frame *frame = (struct eth_frame *) rtw_malloc(sizeof(struct eth_frame)); in promisc_callback_all() [all …]
|
A D | wifi_conf.c | 3299 uint8_t *eth_frame = (uint8_t *) malloc(frame_len); in wifi_set_tcp_keep_alive_offload() local 3300 memcpy(eth_frame, eth_header, sizeof(eth_header)); in wifi_set_tcp_keep_alive_offload() 3301 memcpy(eth_frame + sizeof(eth_header), ip_header, sizeof(ip_header)); in wifi_set_tcp_keep_alive_offload() 3302 memcpy(eth_frame + sizeof(eth_header) + sizeof(ip_header), tcp_header, sizeof(tcp_header)); in wifi_set_tcp_keep_alive_offload() 3303 memcpy(eth_frame + sizeof(eth_header) + sizeof(ip_header) + sizeof(tcp_header), content, len); in wifi_set_tcp_keep_alive_offload() 3306 rtw_set_keepalive_offload(eth_frame, frame_len, interval_ms); in wifi_set_tcp_keep_alive_offload() 3308 free(eth_frame); in wifi_set_tcp_keep_alive_offload()
|
Completed in 11 milliseconds