/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/ |
H A D | SocketAddress.cpp | 104 static socklen_t GetFamilyLength(sa_family_t family) { argument 105 switch (family) { 111 assert(0 && "Unsupported address family"); 129 void SocketAddress::SetFamily(sa_family_t family) { argument 130 m_socket_addr.sa.sa_family = family; 132 m_socket_addr.sa.sa_len = GetFamilyLength(family); 247 bool SocketAddress::SetToLocalhost(sa_family_t family, uint16_t port) { argument 248 switch (family) { 269 bool SocketAddress::SetToAnyAddress(sa_family_t family, uint16_t port) { argument 270 switch (family) { [all...] |
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | net.h | 43 sock_create_kern(int family, int type, int proto, struct socket **res) argument 45 return -socreate(family, res, type, proto, curthread->td_ucred,
|
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_gif_demux.c | 98 /* This struct describes one address family */ 100 sa_family_t family; /* Address family */ member in struct:iffam 133 static iffam_p get_iffam_from_af(sa_family_t family); 166 * Get the family descriptor from the family ID 169 get_iffam_from_af(sa_family_t family) argument 176 if (iffam->family == family) 183 * Get the family descripto [all...] |
/freebsd-11-stable/sys/dev/streams/ |
H A D | streams.c | 187 int family, type, protocol; local 195 family = AF_INET; 201 family = AF_INET; 208 family = AF_INET; 214 family = AF_INET; 220 family = AF_LOCAL; 227 family = AF_LOCAL; 243 error = socreate(family, &so, type, protocol, td->td_ucred, td);
|
/freebsd-11-stable/contrib/ofed/libibverbs/ |
H A D | nl1_compat.h | 58 #define rtnl_link_alloc_cache(sock, family, result) ( \ 63 #define rtnl_route_alloc_cache(sock, family, flags, result) ( \
|
H A D | neigh.h | 42 int family, void *buf, size_t size); 45 int family, void *buf, size_t size);
|
/freebsd-11-stable/contrib/ntp/lib/isc/unix/ |
H A D | ifiter_ioctl.c | 421 dst->family = AF_INET; 444 * If the interface has an unsupported address family, or if 453 int family; local 480 family = ifreq.ifr_addr.sa_family; 482 if (family != AF_INET && family != AF_INET6) 484 if (family != AF_INET) 489 iter->current.af = family; 495 get_addr(family, &iter->current.address, 501 switch (family) { 685 int family; local [all...] |
/freebsd-11-stable/sys/dev/drm2/radeon/ |
H A D | radeon_encoders.c | 47 if (rdev->family >= CHIP_R600) 96 if ((rdev->family == CHIP_RS300) || 97 (rdev->family == CHIP_RS400) || 98 (rdev->family == CHIP_RS480)) 109 /*if (rdev->family == CHIP_R200) 130 if ((rdev->family == CHIP_RS300) || 131 (rdev->family == CHIP_RS400) || 132 (rdev->family == CHIP_RS480)) 141 if ((rdev->family == CHIP_RS600) || 142 (rdev->family [all...] |
H A D | evergreen_blit_kms.c | 92 if (rdev->family >= CHIP_CAYMAN) { 166 if ((rdev->family == CHIP_CEDAR) || 167 (rdev->family == CHIP_PALM) || 168 (rdev->family == CHIP_SUMO) || 169 (rdev->family == CHIP_SUMO2) || 170 (rdev->family == CHIP_CAICOS)) 232 if (rdev->family >= CHIP_CAYMAN) { 299 if (rdev->family < CHIP_CAYMAN) { 300 switch (rdev->family) { 515 if ((rdev->family [all...] |
H A D | r600_audio.c | 64 return (rdev->family >= CHIP_R600 && !ASIC_IS_DCE6(rdev)) 65 || rdev->family == CHIP_RS600 66 || rdev->family == CHIP_RS690 67 || rdev->family == CHIP_RS740;
|
H A D | radeon_clocks.c | 128 if (rdev->family >= CHIP_R420) { 213 if (rdev->family < CHIP_RS600) { 247 if (rdev->family >= CHIP_R420) { 498 if ((rdev->family == CHIP_RS400) || 499 (rdev->family == CHIP_RS480)) { 546 } else if (rdev->family >= CHIP_RV350) { 674 if (((rdev->family == CHIP_RV250) && 678 || ((rdev->family == CHIP_RV100) 689 if ((rdev->family == CHIP_RV200) || 690 (rdev->family [all...] |
H A D | radeon_legacy_encoders.c | 238 if (rdev->family == CHIP_RV410) 420 pdata->negative = (rdev->family != CHIP_RV200 && 421 rdev->family != CHIP_RV250 && 422 rdev->family != CHIP_RV280 && 423 rdev->family != CHIP_RV350); 592 if (rdev->family == CHIP_R200 || ASIC_IS_R300(rdev)) { 601 if (rdev->family == CHIP_R200 || ASIC_IS_R300(rdev)) { 791 if (rdev->family == CHIP_RV280) { 810 if (ASIC_IS_R300(rdev) || (rdev->family == CHIP_RV280)) { 823 if (rdev->family [all...] |
/freebsd-11-stable/sys/kern/ |
H A D | uipc_domain.c | 272 pffinddomain(int family) argument 277 if (dp->dom_family == family) 283 pffindtype(int family, int type) argument 288 dp = pffinddomain(family); 299 pffindproto(int family, int protocol, int type) argument 306 if (family == 0) 309 dp = pffinddomain(family); 329 pf_proto_register(int family, struct protosw *npr) argument 336 if (family == 0) 345 /* Try to find the specified domain based on the family 401 pf_proto_unregister(int family, int protocol, int type) argument [all...] |
/freebsd-11-stable/tools/tools/kttcp/ |
H A D | kttcp.c | 106 int xmitset, family; local 128 family = PF_UNSPEC; 132 if (family != PF_UNSPEC) 134 family = PF_INET; 137 if (family != PF_UNSPEC) 139 family = PF_INET6; 200 hints.ai_family = family;
|
/freebsd-11-stable/contrib/netbsd-tests/net/sys/ |
H A D | t_rfc6056.c | 51 test(const char *hostname, const char *service, int family, int al) argument 59 hints.ai_family = family; 62 switch (family) {
|
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/ |
H A D | SocketAddress.h | 67 // Get the length for the current socket address family 73 // Get the socket address family 76 // Set the socket address family 77 void SetFamily(sa_family_t family); 82 // Get the port if the socket address for the family has a port 85 // Set the port if the socket address for the family has a port. The family 102 // Quick way to set the SocketAddress to localhost given the family. Returns 103 // true if successful, false if "family" doesn't support localhost or if 104 // "family" i [all...] |
/freebsd-11-stable/contrib/telnet/telnet/ |
H A D | main.c | 67 int family = AF_UNSPEC; variable 158 family = AF_INET; 162 family = AF_INET6; 306 family = AF_UNIX;
|
/freebsd-11-stable/sys/compat/svr4/ |
H A D | svr4_stropts.h | 125 int s_family; /* (r) socket family */ 164 u_short family; member in struct:svr4_netaddr_in 170 u_short family; member in struct:svr4_netaddr_un
|
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | sm_resolve.h | 159 /* what to do if family is not supported? add SM_ASSERT()? */ 160 #define FAM2T_(family) (((family) == AF_INET) ? T_A : T_AAAA)
|
/freebsd-11-stable/sys/amd64/vmm/intel/ |
H A D | vmx_msr.c | 180 u_int family, model; local 183 * The family:model numbers belonging to the Nehalem microarchitecture 186 family = CPUID_TO_FAMILY(cpu_id); 188 if (family == 0x6) { 205 u_int family, model; local 208 * The family:model numbers belonging to the Westmere microarchitecture 211 family = CPUID_TO_FAMILY(cpu_id); 213 if (family == 0x6) {
|
/freebsd-11-stable/crypto/heimdal/kdc/ |
H A D | connect.c | 55 int family; member in struct:port_desc 66 * add `family, port, protocol' to the list with duplicate suppresion. 71 int family, int port, const char *protocol) 85 && ports[i].family == family) 91 ports[num_ports].family = family; 104 int family, const char *service, int port, 108 add_port (context, family, port, protocol); 118 int family, cons 70 add_port(krb5_context context, int family, int port, const char *protocol) argument 103 add_port_service(krb5_context context, int family, const char *service, int port, const char *protocol) argument 117 add_port_string(krb5_context context, int family, const char *str, const char *protocol) argument 141 add_standard_ports(krb5_context context, krb5_kdc_configuration *config, int family) argument 247 init_socket(krb5_context context, krb5_kdc_configuration *config, struct descr *d, krb5_address *a, int family, int type, int port) argument [all...] |
/freebsd-11-stable/usr.bin/sockstat/ |
H A D | sockstat.c | 108 int family; member in struct:sock 339 sock->family = AF_INET6; 342 * IPv6 only sockets or dual family sockets. 347 sock->family = AF_INET; 380 errx(1, "address family %d not supported", 394 sock->laddr->address.ss_family = sock->family; 395 if (sock->family == AF_INET) 405 sock->faddr->address.ss_family = sock->family; 406 if (sock->family == AF_INET) 440 sock->family [all...] |
/freebsd-11-stable/usr.sbin/trpt/ |
H A D | trpt.c | 226 int prev_debx = tcp_debx, family; local 236 family = td->td_family; 238 family = AF_INET; 240 switch(family) { 263 family = td->td_family; 265 family = AF_INET; 267 switch(family) { 306 tcp_trace(short act, short ostate, struct tcpcb *tp, int family __unused, 319 switch (family) {
|
/freebsd-11-stable/sys/sys/ |
H A D | protosw.h | 101 * This number should be defined again within each protocol family to avoid 276 * and arg is a `void *' argument used within a protocol family. 344 struct domain *pffinddomain(int family); 345 struct protosw *pffindproto(int family, int protocol, int type); 346 struct protosw *pffindtype(int family, int type); 347 int pf_proto_register(int family, struct protosw *npr); 348 int pf_proto_unregister(int family, int protocol, int type);
|
/freebsd-11-stable/usr.bin/logger/ |
H A D | logger.c | 73 static int family = PF_UNSPEC; /* protocol family (IPv4, IPv6 or both) */ variable 75 static int family = PF_INET; /* protocol family (IPv4 only) */ variable 101 family = PF_INET; 105 family = PF_INET6; 197 hints.ai_family = family;
|