Home
last modified time | relevance | path

Searched refs:ll_addr (Results 1 – 25 of 40) sorted by relevance

12

/Zephyr-latest/subsys/net/ip/
Dipv4_acd.c278 struct net_linkaddr *ll_addr; in net_ipv4_acd_input() local
288 ll_addr = net_if_get_link_addr(addr_iface); in net_ipv4_acd_input()
300 (memcmp(&arp_hdr->src_hwaddr, ll_addr->addr, ll_addr->len) != 0) && in net_ipv4_acd_input()
330 struct net_linkaddr *ll_addr = net_if_get_link_addr(iface); in net_ipv4_acd_input() local
338 memcmp(&arp_hdr->src_hwaddr, ll_addr->addr, ll_addr->len) != 0) { in net_ipv4_acd_input()
Dnet_context.c753 struct sockaddr_ll ll_addr; in bind_default() local
759 ll_addr.sll_family = AF_PACKET; in bind_default()
760 ll_addr.sll_protocol = htons(ETH_P_ALL); in bind_default()
761 ll_addr.sll_ifindex = net_if_get_by_iface(net_if_get_default()); in bind_default()
763 return net_context_bind(context, (struct sockaddr *)&ll_addr, in bind_default()
764 sizeof(ll_addr)); in bind_default()
1076 struct sockaddr_ll *ll_addr = (struct sockaddr_ll *)addr; in net_context_bind() local
1083 if (ll_addr->sll_ifindex < 0) { in net_context_bind()
1087 iface = net_if_get_by_index(ll_addr->sll_ifindex); in net_context_bind()
1090 ll_addr->sll_ifindex); in net_context_bind()
[all …]
/Zephyr-latest/drivers/net/
Dslip.c369 slip->ll_addr.addr = slip->mac_addr; in slip_get_mac()
370 slip->ll_addr.len = sizeof(slip->mac_addr); in slip_get_mac()
372 return &slip->ll_addr; in slip_get_mac()
378 struct net_linkaddr *ll_addr; in slip_iface_init() local
392 ll_addr = slip_get_mac(slip); in slip_iface_init()
412 net_if_set_link_addr(iface, ll_addr->addr, ll_addr->len, in slip_iface_init()
Dslip.h34 struct net_linkaddr ll_addr; member
Dppp.c98 struct net_linkaddr ll_addr; member
979 ppp->ll_addr.addr = ppp->mac_addr; in ppp_get_mac()
980 ppp->ll_addr.len = sizeof(ppp->mac_addr); in ppp_get_mac()
982 return &ppp->ll_addr; in ppp_get_mac()
988 struct net_linkaddr *ll_addr; in ppp_iface_init() local
1004 ll_addr = ppp_get_mac(ppp); in ppp_iface_init()
1022 net_if_set_link_addr(iface, ll_addr->addr, ll_addr->len, in ppp_iface_init()
/Zephyr-latest/tests/net/hostname/src/
Dmain.c45 static struct in6_addr ll_addr = { { { 0xfe, 0x80, 0x43, 0xb8, 0, 0, 0, 0, variable
71 struct net_linkaddr ll_addr; member
88 data->ll_addr.addr = data->mac_addr; in net_iface_get_mac()
89 data->ll_addr.len = 6U; in net_iface_get_mac()
280 ifaddr = net_if_ipv6_addr_add(iface1, &ll_addr, in test_iface_setup()
284 net_sprint_ipv6_addr(&ll_addr)); in test_iface_setup()
/Zephyr-latest/tests/net/route/src/
Dmain.c63 static struct in6_addr ll_addr = { { { 0xfe, 0x80, 0x43, 0xb8, 0, 0, 0, 0, variable
97 struct net_linkaddr ll_addr; member
119 route->ll_addr.addr = route->mac_addr; in net_route_get_mac()
120 route->ll_addr.len = 6U; in net_route_get_mac()
265 ifaddr = net_if_ipv6_addr_add(my_iface, &ll_addr, in test_init()
350 &net_route_data_peer.ll_addr, in test_populate_nbr_cache()
359 &net_route_data_peer.ll_addr, in test_populate_nbr_cache()
/Zephyr-latest/drivers/ethernet/
Deth_native_posix.c55 struct net_linkaddr ll_addr; member
195 ctx->ll_addr.addr = ctx->mac_addr; in eth_get_mac()
196 ctx->ll_addr.len = sizeof(ctx->mac_addr); in eth_get_mac()
198 return &ctx->ll_addr; in eth_get_mac()
299 struct net_linkaddr *ll_addr = eth_get_mac(ctx); in eth_iface_init() local
356 net_if_set_link_addr(iface, ll_addr->addr, ll_addr->len, in eth_iface_init()
/Zephyr-latest/subsys/net/lib/dhcpv6/
Ddhcpv6_internal.h70 uint8_t ll_addr[]; member
80 uint8_t ll_addr[]; member
/Zephyr-latest/tests/net/lib/mdns_responder/src/
Dmain.c47 struct net_linkaddr ll_addr; member
98 static struct in6_addr ll_addr = {{{ variable
127 data->ll_addr.addr = data->mac_addr; in net_iface_get_mac()
128 data->ll_addr.len = 6U; in net_iface_get_mac()
225 ifaddr = net_if_ipv6_addr_add(iface1, &ll_addr, in test_setup()
/Zephyr-latest/tests/net/vlan/src/
Dmain.c74 static struct in6_addr ll_addr = { { { 0xfe, 0x80, 0x43, 0xb8, 0, 0, 0, 0, variable
255 struct net_linkaddr ll_addr; member
270 data->ll_addr.addr = data->mac_addr; in net_iface_get_mac()
271 data->ll_addr.len = 6U; in net_iface_get_mac()
438 ifaddr = net_if_ipv6_addr_add(iface1, &ll_addr, in test_address_setup()
442 net_sprint_ipv6_addr(&ll_addr)); in test_address_setup()
776 struct net_linkaddr *ll_addr; in add_neighbor() local
779 ll_addr = net_if_get_link_addr(iface); in add_neighbor()
781 nbr = net_ipv6_nbr_add(iface, addr, ll_addr, false, in add_neighbor()
791 net_sprint_ll_addr(ll_addr->addr, 6)); in add_neighbor()
/Zephyr-latest/tests/net/promiscuous/src/
Dmain.c50 static struct in6_addr ll_addr = { { { 0xfe, 0x80, 0x43, 0xb8, 0, 0, 0, 0, variable
65 struct net_linkaddr ll_addr; member
234 ifaddr = net_if_ipv6_addr_add(iface1, &ll_addr, in test_iface_setup()
238 net_sprint_ipv6_addr(&ll_addr)); in test_iface_setup()
/Zephyr-latest/tests/net/lib/dns_resolve/src/
Dmain.c52 static struct in6_addr ll_addr = { { { 0xfe, 0x80, 0x43, 0xb8, 0, 0, 0, 0, variable
84 struct net_linkaddr ll_addr; member
101 data->ll_addr.addr = data->mac_addr; in net_iface_get_mac()
102 data->ll_addr.len = 6U; in net_iface_get_mac()
233 ifaddr = net_if_ipv6_addr_add(iface1, &ll_addr, in test_init()
237 net_sprint_ipv6_addr(&ll_addr)); in test_init()
/Zephyr-latest/subsys/net/l2/ethernet/
Dvlan.c373 struct net_linkaddr *ll_addr; in setup_link_address() local
375 ll_addr = net_if_get_link_addr(ctx->attached_to); in setup_link_address()
378 ll_addr->addr, in setup_link_address()
379 ll_addr->len, in setup_link_address()
380 ll_addr->type); in setup_link_address()
/Zephyr-latest/tests/net/iface/src/
Dmain.c55 static struct in6_addr ll_addr = { { { 0xfe, 0x80, 0x43, 0xb8, 0, 0, 0, 0, variable
78 struct net_linkaddr ll_addr; member
95 data->ll_addr.addr = data->mac_addr; in net_iface_get_mac()
96 data->ll_addr.len = 6U; in net_iface_get_mac()
415 ifaddr = net_if_ipv6_addr_add(iface1, &ll_addr, in iface_setup()
419 net_sprint_ipv6_addr(&ll_addr)); in iface_setup()
481 net_if_ipv6_addr_rm(iface1, &ll_addr); in iface_teardown()
707 ifaddr = net_if_ipv6_addr_lookup(&ll_addr, NULL); in ZTEST()
1226 zassert_mem_equal(&if_addr->address.in6_addr, &ll_addr, in foreach_ipv6_addr_check()
/Zephyr-latest/tests/net/route_mcast/src/
Dmain.c79 struct net_linkaddr ll_addr; member
160 cfg->ll_addr.addr = cfg->mac_addr; in net_route_mcast_get_mac()
161 cfg->ll_addr.len = 6U; in net_route_mcast_get_mac()
167 struct in6_addr *ipv6, struct in6_addr *ll_addr) in net_route_mcast_add_addresses() argument
182 ifaddr = net_if_ipv6_addr_add(iface, ll_addr, NET_ADDR_MANUAL, 0); in net_route_mcast_add_addresses()
/Zephyr-latest/tests/net/tx_timestamp/src/
Dmain.c60 static struct in6_addr ll_addr = { { { 0xfe, 0x80, 0x43, 0xb8, 0, 0, 0, 0, variable
370 ifaddr = net_if_ipv6_addr_add(iface1, &ll_addr, in test_address_setup()
374 net_sprint_ipv6_addr(&ll_addr)); in test_address_setup()
/Zephyr-latest/subsys/net/l2/openthread/
Dopenthread.c111 static struct net_linkaddr *ll_addr; variable
167 memcpy(ieee_eui64, ll_addr->addr, ll_addr->len); in otPlatRadioGetIeeeEui64()
535 ll_addr = net_if_get_link_addr(iface); in openthread_init()
/Zephyr-latest/tests/net/ptp/clock/src/
Dmain.c58 static struct in6_addr ll_addr = { { { 0xfe, 0x80, 0x43, 0xb8, 0, 0, 0, 0, variable
377 ifaddr = net_if_ipv6_addr_add(iface1, &ll_addr, in test_address_setup()
381 net_sprint_ipv6_addr(&ll_addr)); in test_address_setup()
/Zephyr-latest/tests/net/virtual/src/
Dmain.c67 static struct in6_addr ll_addr = { { { 0xfe, 0x80, 0x43, 0xb8, 0, 0, 0, 0, variable
198 struct net_linkaddr ll_addr; member
215 data->ll_addr.addr = data->mac_addr; in net_iface_get_mac()
216 data->ll_addr.len = 6U; in net_iface_get_mac()
419 ifaddr = net_if_ipv6_addr_add(eth, &ll_addr, NET_ADDR_MANUAL, 0); in test_address_setup()
422 net_sprint_ipv6_addr(&ll_addr)); in test_address_setup()
/Zephyr-latest/tests/net/shell/src/
Dmain.c58 struct net_linkaddr ll_addr; member
/Zephyr-latest/tests/net/ipv6_fragment/src/
Dmain.c44 static struct in6_addr ll_addr = { { { 0xfe, 0x80, 0x43, 0xb8, 0, 0, 0, 0, variable
917 struct net_linkaddr ll_addr; member
944 data->ll_addr.addr = data->mac_addr; in net_iface_get_mac()
945 data->ll_addr.len = 6U; in net_iface_get_mac()
1658 ifaddr = net_if_ipv6_addr_add(iface1, &ll_addr, in test_setup()
1662 net_sprint_ipv6_addr(&ll_addr)); in test_setup()
/Zephyr-latest/tests/net/icmpv6/src/
Dmain.c69 struct net_linkaddr ll_addr; member
/Zephyr-latest/subsys/bluetooth/controller/
DCMakeLists.txt26 ll_sw/ll_addr.c
/Zephyr-latest/tests/net/traffic_class/src/
Dmain.c77 static struct in6_addr ll_addr = { { { 0xfe, 0x80, 0x43, 0xb8, 0, 0, 0, 0, variable
298 ifaddr = net_if_ipv6_addr_add(iface1, &ll_addr, in address_setup()
302 net_sprint_ipv6_addr(&ll_addr)); in address_setup()

12