Home
last modified time | relevance | path

Searched refs:tcpka (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_android_ext.c1540 tcpka_conn_t *tcpka = NULL; in wl_ext_tcpka_conn_add() local
1556 tcpka = kmalloc(sizeof(struct tcpka_conn) + ka_payload_len, GFP_KERNEL); in wl_ext_tcpka_conn_add()
1557 if (tcpka == NULL) { in wl_ext_tcpka_conn_add()
1563 memset(tcpka, 0, sizeof(struct tcpka_conn) + ka_payload_len); in wl_ext_tcpka_conn_add()
1565 tcpka->sess_id = sess_id; in wl_ext_tcpka_conn_add()
1566 if (!(ret = bcm_ether_atoe(dst_mac, &tcpka->dst_mac))) { in wl_ext_tcpka_conn_add()
1571 if (!bcm_atoipv4(src_ip, &tcpka->src_ip)) { in wl_ext_tcpka_conn_add()
1576 if (!bcm_atoipv4(dst_ip, &tcpka->dst_ip)) { in wl_ext_tcpka_conn_add()
1581 tcpka->ipid = ipid; in wl_ext_tcpka_conn_add()
1582 tcpka->srcport = srcport; in wl_ext_tcpka_conn_add()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_android_ext.c1514 tcpka_conn_t *tcpka = NULL; in wl_ext_tcpka_conn_add() local
1530 tcpka = kmalloc(sizeof(struct tcpka_conn) + ka_payload_len, GFP_KERNEL); in wl_ext_tcpka_conn_add()
1531 if (tcpka == NULL) { in wl_ext_tcpka_conn_add()
1537 memset(tcpka, 0, sizeof(struct tcpka_conn) + ka_payload_len); in wl_ext_tcpka_conn_add()
1539 tcpka->sess_id = sess_id; in wl_ext_tcpka_conn_add()
1540 if (!(ret = bcm_ether_atoe(dst_mac, &tcpka->dst_mac))) { in wl_ext_tcpka_conn_add()
1545 if (!bcm_atoipv4(src_ip, &tcpka->src_ip)) { in wl_ext_tcpka_conn_add()
1550 if (!bcm_atoipv4(dst_ip, &tcpka->dst_ip)) { in wl_ext_tcpka_conn_add()
1555 tcpka->ipid = ipid; in wl_ext_tcpka_conn_add()
1556 tcpka->srcport = srcport; in wl_ext_tcpka_conn_add()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dwl_android_ext.c5390 tcpka_conn_t *tcpka = NULL; in wl_ext_tcpka_conn_add() local
5406 tcpka = kmalloc(sizeof(struct tcpka_conn) + ka_payload_len, GFP_KERNEL); in wl_ext_tcpka_conn_add()
5407 if (tcpka == NULL) { in wl_ext_tcpka_conn_add()
5412 memset(tcpka, 0, sizeof(struct tcpka_conn) + ka_payload_len); in wl_ext_tcpka_conn_add()
5414 tcpka->sess_id = sess_id; in wl_ext_tcpka_conn_add()
5415 if (!(ret = bcm_ether_atoe(dst_mac, &tcpka->dst_mac))) { in wl_ext_tcpka_conn_add()
5419 if (!bcm_atoipv4(src_ip, &tcpka->src_ip)) { in wl_ext_tcpka_conn_add()
5423 if (!bcm_atoipv4(dst_ip, &tcpka->dst_ip)) { in wl_ext_tcpka_conn_add()
5427 tcpka->ipid = ipid; in wl_ext_tcpka_conn_add()
5428 tcpka->srcport = srcport; in wl_ext_tcpka_conn_add()
[all …]