Home
last modified time | relevance | path

Searched refs:clnt_indx (Results 1 – 6 of 6) sorted by relevance

/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Wlan.cpp1200 int clnt_indx; in handle_wlan_client_ipaddr() local
1214 clnt_indx = get_wlan_client_index(data->mac_addr); in handle_wlan_client_ipaddr()
1216 if (clnt_indx == IPACM_INVALID_INDEX) in handle_wlan_client_ipaddr()
1228 if (get_client_memptr(wlan_client, clnt_indx)->ipv4_set == false) in handle_wlan_client_ipaddr()
1230 get_client_memptr(wlan_client, clnt_indx)->v4_addr = data->ipv4_addr; in handle_wlan_client_ipaddr()
1231 get_client_memptr(wlan_client, clnt_indx)->ipv4_set = true; in handle_wlan_client_ipaddr()
1236 if(data->ipv4_addr == get_client_memptr(wlan_client, clnt_indx)->v4_addr) in handle_wlan_client_ipaddr()
1238 … IPACMDBG_H("Already setup ipv4 addr for client:%d, ipv4 address didn't change\n", clnt_indx); in handle_wlan_client_ipaddr()
1243 IPACMDBG_H("ipv4 addr for client:%d is changed \n", clnt_indx); in handle_wlan_client_ipaddr()
1245 CtList->HandleNeighIpAddrDelEvt(get_client_memptr(wlan_client, clnt_indx)->v4_addr); in handle_wlan_client_ipaddr()
[all …]
DIPACM_Lan.cpp970 int num_v6 =0, clnt_indx; in handle_del_ipv6_addr() local
972 clnt_indx = get_eth_client_index(data->mac_addr); in handle_del_ipv6_addr()
973 if (clnt_indx == IPACM_INVALID_INDEX) in handle_del_ipv6_addr()
985 for(num_v6=0;num_v6 < get_client_memptr(eth_client, clnt_indx)->ipv6_set;num_v6++) in handle_del_ipv6_addr()
987 if( data->ipv6_addr[0] == get_client_memptr(eth_client, clnt_indx)->v6_addr[num_v6][0] && in handle_del_ipv6_addr()
988 data->ipv6_addr[1] == get_client_memptr(eth_client, clnt_indx)->v6_addr[num_v6][1] && in handle_del_ipv6_addr()
989 data->ipv6_addr[2]== get_client_memptr(eth_client, clnt_indx)->v6_addr[num_v6][2] && in handle_del_ipv6_addr()
990 data->ipv6_addr[3] == get_client_memptr(eth_client, clnt_indx)->v6_addr[num_v6][3]) in handle_del_ipv6_addr()
992 IPACMDBG_H("ipv6 addr is found at position:%d for client:%d\n", num_v6, clnt_indx); in handle_del_ipv6_addr()
1010 …if((tx_prop->tx[tx_index].ip == IPA_IP_v6) && (get_client_memptr(eth_client, clnt_indx)->route_rul… in handle_del_ipv6_addr()
[all …]
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Wlan.cpp1273 int clnt_indx; in handle_wlan_client_ipaddr() local
1287 clnt_indx = get_wlan_client_index(data->mac_addr); in handle_wlan_client_ipaddr()
1289 if (clnt_indx == IPACM_INVALID_INDEX) in handle_wlan_client_ipaddr()
1301 if (get_client_memptr(wlan_client, clnt_indx)->ipv4_set == false) in handle_wlan_client_ipaddr()
1303 get_client_memptr(wlan_client, clnt_indx)->v4_addr = data->ipv4_addr; in handle_wlan_client_ipaddr()
1304 get_client_memptr(wlan_client, clnt_indx)->ipv4_set = true; in handle_wlan_client_ipaddr()
1309 if(data->ipv4_addr == get_client_memptr(wlan_client, clnt_indx)->v4_addr) in handle_wlan_client_ipaddr()
1311 … IPACMDBG_H("Already setup ipv4 addr for client:%d, ipv4 address didn't change\n", clnt_indx); in handle_wlan_client_ipaddr()
1316 IPACMDBG_H("ipv4 addr for client:%d is changed \n", clnt_indx); in handle_wlan_client_ipaddr()
1318 CtList->HandleNeighIpAddrDelEvt(get_client_memptr(wlan_client, clnt_indx)->v4_addr); in handle_wlan_client_ipaddr()
[all …]
DIPACM_Lan.cpp1107 int num_v6 =0, clnt_indx; in handle_del_ipv6_addr() local
1109 clnt_indx = get_eth_client_index(data->mac_addr); in handle_del_ipv6_addr()
1110 if (clnt_indx == IPACM_INVALID_INDEX) in handle_del_ipv6_addr()
1122 for(num_v6=0;num_v6 < get_client_memptr(eth_client, clnt_indx)->ipv6_set;num_v6++) in handle_del_ipv6_addr()
1124 if( data->ipv6_addr[0] == get_client_memptr(eth_client, clnt_indx)->v6_addr[num_v6][0] && in handle_del_ipv6_addr()
1125 data->ipv6_addr[1] == get_client_memptr(eth_client, clnt_indx)->v6_addr[num_v6][1] && in handle_del_ipv6_addr()
1126 data->ipv6_addr[2]== get_client_memptr(eth_client, clnt_indx)->v6_addr[num_v6][2] && in handle_del_ipv6_addr()
1127 data->ipv6_addr[3] == get_client_memptr(eth_client, clnt_indx)->v6_addr[num_v6][3]) in handle_del_ipv6_addr()
1129 IPACMDBG_H("ipv6 addr is found at position:%d for client:%d\n", num_v6, clnt_indx); in handle_del_ipv6_addr()
1147 …if((tx_prop->tx[tx_index].ip == IPA_IP_v6) && (get_client_memptr(eth_client, clnt_indx)->route_rul… in handle_del_ipv6_addr()
[all …]
DIPACM_Wan.cpp5301 int clnt_indx; in handle_wan_hdr_init() local
5303 clnt_indx = get_wan_client_index(mac_addr); in handle_wan_hdr_init()
5305 if (clnt_indx != IPACM_INVALID_INDEX) in handle_wan_hdr_init()
5307 IPACMERR("eth client is found/attached already with index %d \n", clnt_indx); in handle_wan_hdr_init()
5566 int clnt_indx; in handle_wan_client_ipaddr() local
5578 clnt_indx = get_wan_client_index(data->mac_addr); in handle_wan_client_ipaddr()
5580 if (clnt_indx == IPACM_INVALID_INDEX) in handle_wan_client_ipaddr()
5592 if (get_client_memptr(wan_client, clnt_indx)->ipv4_set == false) in handle_wan_client_ipaddr()
5594 get_client_memptr(wan_client, clnt_indx)->v4_addr = data->ipv4_addr; in handle_wan_client_ipaddr()
5595 get_client_memptr(wan_client, clnt_indx)->ipv4_set = true; in handle_wan_client_ipaddr()
[all …]
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Wlan.cpp1356 int clnt_indx; in handle_wlan_client_ipaddr() local
1370 clnt_indx = get_wlan_client_index(data->mac_addr); in handle_wlan_client_ipaddr()
1372 if (clnt_indx == IPACM_INVALID_INDEX) in handle_wlan_client_ipaddr()
1384 if (get_client_memptr(wlan_client, clnt_indx)->ipv4_set == false) in handle_wlan_client_ipaddr()
1386 get_client_memptr(wlan_client, clnt_indx)->v4_addr = data->ipv4_addr; in handle_wlan_client_ipaddr()
1387 get_client_memptr(wlan_client, clnt_indx)->ipv4_set = true; in handle_wlan_client_ipaddr()
1392 if(data->ipv4_addr == get_client_memptr(wlan_client, clnt_indx)->v4_addr) in handle_wlan_client_ipaddr()
1394 IPACMDBG_H("Already setup ipv4 addr for client:%d, ipv4 address didn't change\n", clnt_indx); in handle_wlan_client_ipaddr()
1399 IPACMDBG_H("ipv4 addr for client:%d is changed \n", clnt_indx); in handle_wlan_client_ipaddr()
1401 CtList->HandleNeighIpAddrDelEvt(get_client_memptr(wlan_client, clnt_indx)->v4_addr); in handle_wlan_client_ipaddr()
[all …]