Home
last modified time | relevance | path

Searched refs:bcast (Results 1 – 25 of 38) sorted by relevance

12

/freebsd-13-stable/sys/compat/linuxkpi/common/include/net/
HDip.h73 ip_ib_mc_map(uint32_t addr, const unsigned char *bcast, char *buf) in ip_ib_mc_map() argument
78 scope = bcast[5] & 0xF; in ip_ib_mc_map()
87 buf[8] = bcast[8]; in ip_ib_mc_map()
88 buf[9] = bcast[9]; in ip_ib_mc_map()
/freebsd-13-stable/contrib/bsnmp/snmp_mibII/
HDmibII_ipaddr.c52 int bcast; member
72 struct in_addr bcast; in create() local
86 bcast.s_addr = upd->addr.s_addr & upd->mask.s_addr; in create()
87 if (!(upd->set & UPD_BCAST) || upd->bcast) { in create()
89 bcast.s_addr |= htonl(0xffffffff & ~tmp); in create()
92 if ((ifa = mib_create_ifa(upd->ifindex, upd->addr, upd->mask, bcast)) in create()
123 if (upd->bcast) in modify()
295 upd->bcast = value->v.integer; in op_ipaddr()
HDmibII.h246 …fa * mib_create_ifa(u_int ifindex, struct in_addr addr, struct in_addr mask, struct in_addr bcast);
HDmibII.c1432 struct in_addr bcast) in siocaifaddr() argument
1453 sa->sin_addr = bcast; in siocaifaddr()
1631 struct in_addr bcast) in mib_create_ifa() argument
1641 ifa->inbcast = bcast; in mib_create_ifa()
/freebsd-13-stable/crypto/heimdal/lib/roken/
HDsocket_wrapper.c220 int bcast; member
341 int *bcast) in convert_in_un_remote() argument
348 if (bcast) *bcast = 0; in convert_in_un_remote()
390 if (bcast) *bcast = is_bcast; in convert_in_un_remote()
439 int *bcast) in convert_in_un_alloc() argument
447 if (bcast) *bcast = 0; in convert_in_un_alloc()
528 if (bcast) *bcast = is_bcast; in convert_in_un_alloc()
558 struct sockaddr_un *out_addr, int alloc_sock, int *bcast) in sockaddr_convert_to_un() argument
579 return convert_in_un_alloc(si, in_addr, out_addr, bcast); in sockaddr_convert_to_un()
581 return convert_in_un_remote(si, in_addr, out_addr, bcast); in sockaddr_convert_to_un()
[all …]
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
HDget.ipv4remote.pl65 my ($addr, $bcast) = ($1, $2);
66 $Broadcast{$addr} = $bcast;
/freebsd-13-stable/usr.sbin/rpcbind/tests/
HDaddrmerge_test.c55 struct sockaddr_storage bcast; member
80 const char* bcast, unsigned int flags, bool bind) in mock_ifaddr4() argument
88 &mock_ifaddr_storage[ifaddr_count].bcast; in mock_ifaddr4()
101 bcast_in->sin_addr.s_addr = inet_addr(bcast); in mock_ifaddr4()
127 const char* bcast, unsigned int flags, uint32_t scope_id, bool bind) in mock_ifaddr6() argument
135 &mock_ifaddr_storage[ifaddr_count].bcast; in mock_ifaddr6()
152 ATF_REQUIRE_EQ(1, inet_pton(AF_INET6, bcast, in mock_ifaddr6()
178 const char* mask __unused, const char* bcast __unused, in mock_ifaddr6()
/freebsd-13-stable/contrib/ntp/ntpd/
HDntp_io.c538 printf("bcast = %s,\n", stoa(&itf->bcast)); in interface_dump()
571 printf(", bcast=%s", stoa(&iface->bcast)); in print_interface()
933 stoa(&ep->bcast), ep->ifnum, ep->name); in remove_interface()
1070 AF(&wildif->bcast) = AF_INET; in create_wildcards()
1071 SET_ADDR4N(&wildif->bcast, INADDR_ANY); in create_wildcards()
1072 SET_PORT(&wildif->bcast, port); in create_wildcards()
1319 AF(&itf->bcast) = itf->family; in convert_isc_if()
1322 SET_PORT(&itf->bcast, port); in convert_isc_if()
1330 NSRCADR(&itf->bcast) = in convert_isc_if()
1385 int bcast = (iface->flags & INT_BCASTXMIT) != 0; in refresh_interface() local
[all …]
HDntp_request.c749 ips->dstadr = NSRCADR(&pp->dstadr->bcast); in list_peers_sum()
753 ips->dstadr = NSRCADR(&pp->dstadr->bcast); in list_peers_sum()
848 ? SOCK_ADDR6(&pp->dstadr->bcast) in peer_info()
861 ip->dstadr = NSRCADR(&pp->dstadr->bcast); in peer_info()
865 ip->dstadr = NSRCADR(&pp->dstadr->bcast); in peer_info()
998 ip->dstadr = NSRCADR(&pp->dstadr->bcast); in peer_stats()
1002 ip->dstadr = NSRCADR(&pp->dstadr->bcast); in peer_stats()
1015 ? SOCK_ADDR6(&pp->dstadr->bcast) in peer_stats()
2727 ifs->unbcast.addr6 = SOCK_ADDR6(&ep->bcast); in fill_info_if_stats()
2732 ifs->unbcast.addr = SOCK_ADDR4(&ep->bcast); in fill_info_if_stats()
/freebsd-13-stable/tools/bus_space/examples/
HDam79c900_diag.py204 bcast = () variable
207 bcast += (0xff,)
302 pkt.eth_dest[i] = bcast[i]
332 if mac_is(pkt.eth_dest, bcast):
/freebsd-13-stable/contrib/netbsd-tests/ipf/regress/
HDi915 pass in all with mbcast,not bcast,multicast,not state,not ipopts
16 block in all with not mbcast,bcast,not multicast,state
/freebsd-13-stable/contrib/netbsd-tests/ipf/expected/
HDi915 pass in from any to any with not ipopts,mbcast,not bcast,mcast,not state
16 block in from any to any with not mbcast,bcast,not mcast,state
HDi202 block in on hme0(!) inet from any to hme0/bcast
/freebsd-13-stable/sys/net/
HDdebugnet_inet.c227 struct ether_addr bcast; in debugnet_send_arp() local
236 memset(&bcast, 0xFF, ETHER_ADDR_LEN); in debugnet_send_arp()
256 return (debugnet_ether_output(m, ifp, bcast, ETHERTYPE_ARP)); in debugnet_send_arp()
/freebsd-13-stable/share/examples/ipfilter/
HDmkfilters112 ($bcast{$iface} = $_) =~ s/.*broadcast ([^ ]+).*/$1/;
/freebsd-13-stable/sys/kern/
HDkern_clocksource.c304 int cpu, bcast; local
330 bcast = 0;
344 bcast = 1;
357 if (bcast) {
/freebsd-13-stable/contrib/ntp/libntp/
HDsocket.c192 int bcast,
/freebsd-13-stable/contrib/wpa/src/wps/
HDwps.c322 const u8 bcast[ETH_ALEN] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; in wps_is_addr_authorized() local
342 if (ether_addr_equal(pos, bcast)) in wps_is_addr_authorized()
/freebsd-13-stable/sys/dev/ocs_fc/
HDsli4.c7753 sli4_xmit_bcast64_wqe_t *bcast = buf; in sli_xmit_bcast64_wqe() local
7763 bcast->dbde = TRUE; in sli_xmit_bcast64_wqe()
7764 bcast->sequence_payload.bde_type = SLI4_BDE_TYPE_BDE_64; in sli_xmit_bcast64_wqe()
7765 bcast->sequence_payload.buffer_length = payload_len; in sli_xmit_bcast64_wqe()
7766 bcast->sequence_payload.u.data.buffer_address_low = ocs_addr32_lo(payload->phys); in sli_xmit_bcast64_wqe()
7767 bcast->sequence_payload.u.data.buffer_address_high = ocs_addr32_hi(payload->phys); in sli_xmit_bcast64_wqe()
7769 bcast->sequence_payload_length = payload_len; in sli_xmit_bcast64_wqe()
7771 bcast->df_ctl = df_ctl; in sli_xmit_bcast64_wqe()
7772 bcast->type = type; in sli_xmit_bcast64_wqe()
7773 bcast->r_ctl = r_ctl; in sli_xmit_bcast64_wqe()
[all …]
/freebsd-13-stable/sys/contrib/octeon-sdk/
HDcvmx-pip.h493 status->bcast_l2_red_packets = stat10.s.bcast; in cvmx_pip_get_port_status()
495 status->bcast_l3_red_packets = stat11.s.bcast; in cvmx_pip_get_port_status()
HDcvmx-pip-defs.h4604 uint64_t bcast : 32; /**< Number of packets with L2 Broadcast DMAC member
4620 uint64_t bcast : 32;
4638 uint64_t bcast : 32; /**< Number of packets with L2 Broadcast DMAC member
4654 uint64_t bcast : 32;
4679 uint64_t bcast : 32; /**< Number of packets with L3 Broadcast Dest Address member
4701 uint64_t bcast : 32;
4719 uint64_t bcast : 32; /**< Number of packets with L3 Broadcast Dest Address member
4741 uint64_t bcast : 32;
5832 uint64_t bcast : 32; /**< Number of packets with L2 Broadcast DMAC member
5848 uint64_t bcast : 32;
[all …]
/freebsd-13-stable/sbin/pfctl/
HDpfctl_parser.h122 struct pf_addr bcast; member
/freebsd-13-stable/sbin/routed/
HDdefs.h600 struct interface *ifwithaddr(naddr addr, int bcast, int remote);
HDif.c135 int bcast, /* notice IFF_BROADCAST address */ in ifwithaddr() argument
152 if (possible || !bcast) in ifwithaddr()
/freebsd-13-stable/contrib/ntp/include/
HDntp.h184 sockaddr_u bcast; /* broadcast address */ member

12