Home
last modified time | relevance | path

Searched refs:inaddr (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/usnic/
H A Dusnic_fwd.c113 void usnic_fwd_add_ipaddr(struct usnic_fwd_dev *ufdev, __be32 inaddr) in usnic_fwd_add_ipaddr() argument
116 if (!ufdev->inaddr) in usnic_fwd_add_ipaddr()
117 ufdev->inaddr = inaddr; in usnic_fwd_add_ipaddr()
124 ufdev->inaddr = 0; in usnic_fwd_del_ipaddr()
170 else if (ufdev->inaddr == 0) in validate_filter_locked()
174 else if (ntohl(ufdev->inaddr) != filter->u.ipv4.dst_addr) in validate_filter_locked()
H A Dusnic_common_util.h40 usnic_mac_ip_to_gid(const char *const mac, const __be32 inaddr, char *raw_gid) in usnic_mac_ip_to_gid() argument
45 memcpy(&raw_gid[4], &inaddr, 4); in usnic_mac_ip_to_gid()
H A Dusnic_fwd.h59 __be32 inaddr; member
78 void usnic_fwd_add_ipaddr(struct usnic_fwd_dev *ufdev, __be32 inaddr);
H A Dusnic_ib_verbs.c293 usnic_mac_ip_to_gid(us_ibdev->ufdev->mac, us_ibdev->ufdev->inaddr, in usnic_ib_query_device()
362 } else if (!us_ibdev->ufdev->inaddr) { in usnic_ib_query_port()
435 usnic_mac_ip_to_gid(us_ibdev->ufdev->mac, us_ibdev->ufdev->inaddr, in usnic_ib_query_gid()
H A Dusnic_ib_main.c268 &us_ibdev->ufdev->inaddr); in usnic_ib_handle_inet_event()
430 us_ibdev->ufdev->inaddr, &gid.raw[0]); in usnic_ib_device_add()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxdping.c40 struct in_addr inaddr; in get_stats() local
43 inaddr.s_addr = raddr; in get_stats()
57 inet_ntop(AF_INET, &inaddr, inaddrbuf, in get_stats()
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-catu.h98 CATU_REG_PAIR(inaddr, CATU_INADDRLO, CATU_INADDRHI) in CATU_REG_PAIR()
H A Dcoresight-catu.c376 coresight_simple_reg64(inaddr, CATU_INADDRLO, CATU_INADDRHI),