Home
last modified time | relevance | path

Searched refs:addr4 (Results 1 – 10 of 10) sorted by relevance

/net/netlabel/
Dnetlabel_unlabeled.c498 struct in_addr *addr4, *mask4; in netlbl_unlhsh_add() local
500 addr4 = (struct in_addr *)addr; in netlbl_unlhsh_add()
502 ret_val = netlbl_unlhsh_add_addr4(iface, addr4, mask4, secid); in netlbl_unlhsh_add()
506 addr4->s_addr, in netlbl_unlhsh_add()
1163 const struct netlbl_unlhsh_addr4 *addr4, in netlbl_unlabel_staticlist_gen() argument
1194 if (addr4) { in netlbl_unlabel_staticlist_gen()
1197 addr_struct.s_addr = addr4->list.addr; in netlbl_unlabel_staticlist_gen()
1205 addr_struct.s_addr = addr4->list.mask; in netlbl_unlabel_staticlist_gen()
1213 secid = addr4->secid; in netlbl_unlabel_staticlist_gen()
1274 struct netlbl_af4list *addr4; in netlbl_unlabel_staticlist() local
[all …]
Dnetlabel_kapi.c113 const struct in_addr *addr4, *mask4; in netlbl_cfg_unlbl_map_add() local
136 addr4 = addr; in netlbl_cfg_unlbl_map_add()
142 map4->list.addr = addr4->s_addr & mask4->s_addr; in netlbl_cfg_unlbl_map_add()
714 struct sockaddr_in *addr4; in netlbl_conn_setattr() local
720 addr4 = (struct sockaddr_in *)addr; in netlbl_conn_setattr()
722 addr4->sin_addr.s_addr); in netlbl_conn_setattr()
Dnetlabel_domainhash.c195 struct netlbl_af4list *addr4, in netlbl_domhsh_audit_add() argument
208 if (addr4 != NULL) { in netlbl_domhsh_audit_add()
210 map4 = netlbl_domhsh_addr4_entry(addr4); in netlbl_domhsh_audit_add()
214 addr4->addr, addr4->mask); in netlbl_domhsh_audit_add()
/net/wireless/
Dlib80211_crypt_ccmp.c129 pos = (u8 *) & hdr->addr4; in ccmp_init_blocks()
166 memcpy(aad + 24, hdr->addr4, ETH_ALEN); in ccmp_init_blocks()
Dlib80211_crypt_tkip.c573 memcpy(hdr + ETH_ALEN, hdr11->addr4, ETH_ALEN); /* SA */ in michael_mic_hdr()
/net/mac80211/
Drx.c447 if (memcmp(hdr->addr4, rx->dev->dev_addr, ETH_ALEN) == 0) in ieee80211_rx_mesh_check()
481 mesh_rmc_check(hdr->addr4, msh_h_get(hdr, hdrlen), rx->sdata)) in ieee80211_rx_mesh_check()
1426 mpp_path_add(mesh_hdr->eaddr2, hdr->addr4, sdata); in ieee80211_rx_h_mesh_fwding()
1430 if (compare_ether_addr(mppath->mpp, hdr->addr4) != 0) in ieee80211_rx_h_mesh_fwding()
1431 memcpy(mppath->mpp, hdr->addr4, ETH_ALEN); in ieee80211_rx_h_mesh_fwding()
Dtx.c1316 if (memcmp(odev->dev_addr, hdr->addr4, ETH_ALEN) != 0) in ieee80211_master_start_xmit()
1519 memcpy(hdr.addr4, skb->data + ETH_ALEN, ETH_ALEN); in ieee80211_subif_start_xmit()
1539 memcpy(hdr.addr4, skb->data + ETH_ALEN, ETH_ALEN); in ieee80211_subif_start_xmit()
1547 memcpy(hdr.addr4, dev->dev_addr, ETH_ALEN); in ieee80211_subif_start_xmit()
Dwpa.c321 memcpy(&aad[24], hdr->addr4, ETH_ALEN); in ccmp_special_blocks()
Dmesh_pathtbl.c506 if (memcmp(hdr->addr4, sdata->dev->dev_addr, ETH_ALEN) != 0) { in mesh_path_discard_frame()
Dmesh_hwmp.c798 && !memcmp(sdata->dev->dev_addr, hdr->addr4, in mesh_nexthop_lookup()