Home
last modified time | relevance | path

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

12

/drivers/net/wireguard/
Dsocket.c25 .daddr = endpoint->addr4.sin_addr.s_addr, in send4()
26 .fl4_dport = endpoint->addr4.sin_port, in send4()
240 endpoint->addr4.sin_family = AF_INET; in wg_socket_endpoint_from_skb()
241 endpoint->addr4.sin_port = udp_hdr(skb)->source; in wg_socket_endpoint_from_skb()
242 endpoint->addr4.sin_addr.s_addr = ip_hdr(skb)->saddr; in wg_socket_endpoint_from_skb()
261 a->addr4.sin_port == b->addr4.sin_port && in endpoint_eq()
262 a->addr4.sin_addr.s_addr == b->addr4.sin_addr.s_addr && in endpoint_eq()
285 peer->endpoint.addr4 = endpoint->addr4; in wg_socket_set_peer_endpoint()
Dpeer.h24 struct sockaddr_in addr4; member
Dnetlink.c151 sizeof(peer->endpoint.addr4), in get_peer()
152 &peer->endpoint.addr4); in get_peer()
442 endpoint.addr4 = *(struct sockaddr_in *)addr; in set_peer()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum2_mr_tcam.c146 (char *) &key->source.addr4, in mlxsw_sp2_mr_tcam_rule_parse4()
147 (char *) &key->source_mask.addr4, 4); in mlxsw_sp2_mr_tcam_rule_parse4()
149 (char *) &key->group.addr4, in mlxsw_sp2_mr_tcam_rule_parse4()
150 (char *) &key->group_mask.addr4, 4); in mlxsw_sp2_mr_tcam_rule_parse4()
Dspectrum1_mr_tcam.c40 ntohl(key->group.addr4), in mlxsw_sp1_mr_tcam_route_replace()
41 ntohl(key->group_mask.addr4), in mlxsw_sp1_mr_tcam_route_replace()
42 ntohl(key->source.addr4), in mlxsw_sp1_mr_tcam_route_replace()
43 ntohl(key->source_mask.addr4), in mlxsw_sp1_mr_tcam_route_replace()
Dspectrum_nve.c56 __be32 addr4; member
90 mc_entry->addr4 = addr->addr4; in mlxsw_sp_nve_mc_record_ipv4_entry_add()
106 u32 udip = be32_to_cpu(mc_entry->addr4); in mlxsw_sp_nve_mc_record_ipv4_entry_set()
116 return mc_entry->addr4 == addr->addr4; in mlxsw_sp_nve_mc_record_ipv4_entry_compare()
193 addr->addr4 = cpu_to_be32(uip); in mlxsw_sp_nve_learned_ip_resolve()
Dspectrum_mr.c807 key->group.addr4 = mfc->mfc_mcastgrp; in mlxsw_sp_mr_route4_key()
808 key->group_mask.addr4 = htonl(0xffffffff); in mlxsw_sp_mr_route4_key()
809 key->source.addr4 = mfc->mfc_origin; in mlxsw_sp_mr_route4_key()
810 key->source_mask.addr4 = htonl(starg ? 0 : 0xffffffff); in mlxsw_sp_mr_route4_key()
816 return mr_route->key.source_mask.addr4 == htonl(INADDR_ANY); in mlxsw_sp_mr_route4_starg()
Dspectrum_ipip.c74 return (union mlxsw_sp_l3addr) { .addr4 = parms->iph.saddr }; in mlxsw_sp_ipip_parms4_saddr()
86 return (union mlxsw_sp_l3addr) { .addr4 = parms->iph.daddr }; in mlxsw_sp_ipip_parms4_daddr()
120 return mlxsw_sp_ipip_parms4_daddr(&parms4).addr4; in mlxsw_sp_ipip_netdev_daddr4()
Dspectrum_span.c455 union mlxsw_sp_l3addr saddr = { .addr4 = tparm.iph.saddr }; in mlxsw_sp_span_entry_gretap4_parms()
456 union mlxsw_sp_l3addr daddr = { .addr4 = tparm.iph.daddr }; in mlxsw_sp_span_entry_gretap4_parms()
471 l3edev = mlxsw_sp_span_gretap4_route(to_dev, &saddr.addr4, &gw.addr4); in mlxsw_sp_span_entry_gretap4_parms()
498 be32_to_cpu(sparms.saddr.addr4), in mlxsw_sp_span_entry_gretap4_configure()
499 be32_to_cpu(sparms.daddr.addr4)); in mlxsw_sp_span_entry_gretap4_configure()
Dspectrum_nve_vxlan.c136 config->ul_sip.addr4 = cfg->saddr.sin.sin_addr.s_addr; in mlxsw_sp_nve_vxlan_ul_proto_sip_config()
181 be32_to_cpu(config->ul_sip.addr4)); in mlxsw_sp_nve_vxlan_config_prepare()
/drivers/net/wireless/
Dwl3501_cs.c493 u8 addr4[ETH_ALEN] = { in wl3501_send_pkt() local
498 offsetof(struct wl3501_tx_hdr, addr4), in wl3501_send_pkt()
499 addr4, sizeof(addr4)); in wl3501_send_pkt()
526 offsetof(struct wl3501_tx_hdr, addr4), in wl3501_send_pkt()
956 u8 rssi, addr4[ETH_ALEN]; in wl3501_md_ind_interrupt() local
968 offsetof(struct wl3501_rx_hdr, addr4), in wl3501_md_ind_interrupt()
969 &addr4, sizeof(addr4)); in wl3501_md_ind_interrupt()
970 if (!(addr4[0] == 0xAA && addr4[1] == 0xAA && in wl3501_md_ind_interrupt()
971 addr4[2] == 0x03 && addr4[4] == 0x00)) { in wl3501_md_ind_interrupt()
Dwl3501.h285 u8 addr4[ETH_ALEN]; member
306 u8 addr4[ETH_ALEN]; member
/drivers/net/wireless/intersil/hostap/
Dhostap_80211_tx.c53 printk(" A4=%pM", hdr->addr4); in hostap_dump_tx_80211()
157 &hdr.addr4, ETH_ALEN); in hostap_data_start_xmit()
171 &hdr.addr4, ETH_ALEN); in hostap_data_start_xmit()
246 skb_put_data(skb, &hdr.addr4, ETH_ALEN); in hostap_data_start_xmit()
Dhostap_wlan.h95 u8 addr4[ETH_ALEN]; member
126 u8 addr4[ETH_ALEN]; member
Dhostap_main.c541 rx->addr1, rx->addr2, rx->addr3, rx->addr4); in hostap_dump_rx_header()
569 tx->addr1, tx->addr2, tx->addr3, tx->addr4); in hostap_dump_tx_header()
Dhostap_80211_rx.c56 printk(" A4=%pM", hdr->addr4); in hostap_dump_rx_80211()
855 memcpy(src, hdr->addr4, ETH_ALEN); in hostap_80211_rx()
/drivers/soundwire/
Dstream.c67 u32 addr1, addr2, addr3, addr4; in _sdw_program_slave_port_params() local
75 addr4 = SDW_DPN_HCTRL_B1(t_params->port_num); in _sdw_program_slave_port_params()
80 addr4 = SDW_DPN_HCTRL_B0(t_params->port_num); in _sdw_program_slave_port_params()
118 ret = sdw_write(slave, addr4, wbuf); in _sdw_program_slave_port_params()
132 u32 addr1, addr2, addr3, addr4, addr5, addr6; in sdw_program_slave_port_params() local
151 addr4 = SDW_DPN_OFFSETCTRL1_B1(t_params->port_num); in sdw_program_slave_port_params()
157 addr4 = SDW_DPN_OFFSETCTRL1_B0(t_params->port_num); in sdw_program_slave_port_params()
196 ret = sdw_write(s_rt->slave, addr4, t_params->offset1); in sdw_program_slave_port_params()
/drivers/net/wireless/ath/ath11k/
Drx_desc.h438 u8 addr4[ETH_ALEN]; member
545 u8 addr4[ETH_ALEN]; member
570 u8 addr4[ETH_ALEN]; member
/drivers/staging/rtl8192e/
Drtllib_crypt_ccmp.c106 pos = (u8 *)&hdr->addr4; in ccmp_init_iv_and_aad()
144 memcpy(aad + 22, hdr->addr4, ETH_ALEN); in ccmp_init_iv_and_aad()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_ccmp.c113 pos = (u8 *)&hdr->addr4; in ccmp_init_iv_and_aad()
152 memcpy(aad + 22, hdr->addr4, ETH_ALEN); in ccmp_init_iv_and_aad()
/drivers/staging/vt6656/
Drxtx.h44 u8 addr4[6]; member
Drxtx.c360 ether_addr_copy(mic_hdr->addr4, hdr->addr4); in vnt_fill_txkey()
/drivers/staging/vt6655/
Drxtx.h42 u8 addr4[ETH_ALEN]; member
/drivers/net/wireless/admtek/
Dadm8211.h465 u8 addr4[6]; member
/drivers/net/wireless/intersil/orinoco/
Dhermes.h332 u8 addr4[ETH_ALEN]; member

12