/freebsd/sys/compat/linuxkpi/common/include/net/ |
H A D | ip.h | 73 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/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_ipaddr.c | 52 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()
|
H A D | mibII.h | 246 …fa * mib_create_ifa(u_int ifindex, struct in_addr addr, struct in_addr mask, struct in_addr bcast);
|
H A D | mibII.c | 1432 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/crypto/heimdal/lib/roken/ |
H A D | socket_wrapper.c | 220 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/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/ |
H A D | get.ipv4remote.pl | 65 my ($addr, $bcast) = ($1, $2); 66 $Broadcast{$addr} = $bcast;
|
/freebsd/usr.sbin/rpcbind/tests/ |
H A D | addrmerge_test.c | 55 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/contrib/ntp/ntpd/ |
H A D | ntp_io.c | 538 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 …]
|
H A D | ntp_request.c | 749 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() [all...] |
/freebsd/tools/bus_space/examples/ |
H A D | am79c900_diag.py | 204 bcast = () variable 207 bcast += (0xff,) 302 pkt.eth_dest[i] = bcast[i] 332 if mac_is(pkt.eth_dest, bcast):
|
/freebsd/contrib/netbsd-tests/ipf/regress/ |
H A D | i9 | 15 pass in all with mbcast,not bcast,multicast,not state,not ipopts 16 block in all with not mbcast,bcast,not multicast,state
|
/freebsd/contrib/netbsd-tests/ipf/expected/ |
H A D | i9 | 15 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
|
H A D | i20 | 2 block in on hme0(!) inet from any to hme0/bcast
|
/freebsd/sys/net/ |
H A D | debugnet_inet.c | 231 struct ether_addr bcast; in debugnet_send_arp() local 240 memset(&bcast, 0xFF, ETHER_ADDR_LEN); in debugnet_send_arp() 260 return (debugnet_ether_output(m, ifp, bcast, ETHERTYPE_ARP)); in debugnet_send_arp()
|
/freebsd/share/examples/ipfilter/ |
H A D | mkfilters | 112 ($bcast{$iface} = $_) =~ s/.*broadcast ([^ ]+).*/$1/;
|
/freebsd/sys/kern/ |
H A D | kern_clocksource.c | 304 int cpu, bcast; local 330 bcast = 0; 344 bcast = 1; 357 if (bcast) {
|
/freebsd/contrib/ntp/libntp/ |
H A D | socket.c | 192 int bcast,
|
/freebsd/contrib/wpa/src/wps/ |
H A D | wps.c | 322 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()
|
H A D | wps_er.c | 1509 u8 bcast[ETH_ALEN]; in wps_er_set_sel_reg() local 1524 os_memset(bcast, 0xff, ETH_ALEN); in wps_er_set_sel_reg() 1525 auth_macs = bcast; in wps_er_set_sel_reg()
|
/freebsd/sys/dev/ocs_fc/ |
H A D | sli4.c | 7753 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/sbin/pfctl/ |
H A D | pfctl_parser.h | 127 struct pf_addr bcast; member
|
/freebsd/sbin/routed/ |
H A D | defs.h | 595 struct interface *ifwithaddr(naddr addr, int bcast, int remote);
|
H A D | if.c | 135 int bcast, /* notice IFF_BROADCAST address */ in ifwithaddr() argument 152 if (possible || !bcast) in ifwithaddr()
|
/freebsd/contrib/ntp/include/ |
H A D | ntp.h | 184 sockaddr_u bcast; /* broadcast address */ member
|
/freebsd/sys/netinet/ |
H A D | if_ether.c | 316 arp_fillheader(struct ifnet *ifp, struct arphdr *ah, int bcast, u_char *buf, in arp_fillheader() argument 330 if (bcast) in arp_fillheader()
|