Searched refs:scope_id (Results 1 - 20 of 20) sorted by relevance

/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/
H A Dinetdevice.h63 ip6_dev_find(struct vnet *vnet, struct in6_addr addr, uint16_t scope_id) argument
77 sin6.sin6_addr.s6_addr16[1] = htons(scope_id);
/freebsd-13-stable/crypto/openssh/
H A Daddrmatch.c43 u_int32_t scope_id; /* iface scope id for v6 */ member in struct:xaddr
101 xa->scope_id = in6->sin6_scope_id;
163 dst->scope_id = a->scope_id;
193 if (a->scope_id == b->scope_id)
195 return a->scope_id > b->scope_id ? 1 : -1;
/freebsd-13-stable/tests/sys/net/routing/
H A Drtsock_print.h212 int scope_id = sin6->sin6_scope_id; local
214 if (scope_id != 0) {
216 if_indextoname(scope_id, ifbuf);
217 printf(" scope_id=%d if_name=%s", scope_id, ifbuf);
/freebsd-13-stable/usr.sbin/rpcbind/tests/
H A Daddrmerge_test.c129 const char* bcast, unsigned int flags, uint32_t scope_id, bool bind)
142 in6->sin6_scope_id = scope_id;
147 mask_in6->sin6_scope_id = scope_id;
153 bcast_in6->sin6_scope_id = scope_id;
181 unsigned int flags __unused, uint32_t scope_id __unused, bool bind __unused)
128 mock_ifaddr6(const char* name, const char* addr, const char* mask, const char* bcast, unsigned int flags, uint32_t scope_id, bool bind) argument
/freebsd-13-stable/contrib/bsnmp/snmpd/
H A Dtrans_inet.c662 * \param scope_id scope_id (0 or from index)
668 u_int scope_id)
681 sin->sin6_scope_id = scope_id;
685 if (IN6_IS_ADDR_LINKLOCAL(&sin->sin6_addr) && scope_id == 0) {
913 u_int scope_id = 0;
915 scope_id <<= 8;
916 scope_id |= params->addr[i];
919 const int ret = ipv6_create_common(port, params, scope_id);
667 ipv6_create_common(struct inet_port *port, struct inet_port_params *params, u_int scope_id) argument
/freebsd-13-stable/contrib/libpcap/
H A Drpcap-protocol.h242 uint32 scope_id; /* Scope zone index */ member in struct:rpcap_sockaddr_in6
H A Dpcap-rpcap.c336 sockaddrout_ipv6->sin6_scope_id = ntohl(sockaddrin_ipv6->scope_id);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.h208 lldb::VariableSP GetOrCreateLocalVariable(PdbCompilandSymId scope_id,
216 lldb::VariableSP CreateLocalVariable(PdbCompilandSymId scope_id,
H A DPdbAstBuilder.h65 clang::VarDecl *GetOrCreateVariableDecl(PdbCompilandSymId scope_id,
H A DSymbolFileNativePDB.cpp1326 VariableSP SymbolFileNativePDB::CreateLocalVariable(PdbCompilandSymId scope_id, argument
1330 Block &block = GetOrCreateBlock(scope_id);
1352 m_ast->GetOrCreateVariableDecl(scope_id, var_id);
1359 PdbCompilandSymId scope_id, PdbCompilandSymId var_id, bool is_param) {
1364 return CreateLocalVariable(scope_id, var_id, is_param);
1358 GetOrCreateLocalVariable( PdbCompilandSymId scope_id, PdbCompilandSymId var_id, bool is_param) argument
H A DPdbAstBuilder.cpp440 PdbCompilandSymId scope_id(id.modi, m_decl_to_status[scope_decl].uid);
441 return GetOrCreateVariableDecl(scope_id, id);
848 PdbAstBuilder::GetOrCreateVariableDecl(PdbCompilandSymId scope_id, argument
853 clang::DeclContext *scope = GetOrCreateDeclContextForUid(scope_id);
/freebsd-13-stable/contrib/wpa/src/common/
H A Dwpa_ctrl.c371 int scope_id = 0; local
395 scope_id = if_nametoindex(&scope[1]);
412 ctrl->dest.sin6_scope_id = scope_id;
/freebsd-13-stable/contrib/apr/include/
H A Dapr_network_io.h498 * @param scope_id The new buffer containing just the scope id. On output,
499 * *scope_id will be NULL if no scope id was specified.
505 * @param p The pool from which *addr and *scope_id are allocated.
506 * @remark If scope id shouldn't be allowed, check for scope_id != NULL in
512 char **scope_id,
/freebsd-13-stable/contrib/apr/network_io/unix/
H A Dsockaddr.c242 char **scope_id,
252 *scope_id = NULL; /* assume not specified */
310 *scope_id = apr_pstrmemdup(p, scope_delim + 1, end_bracket - scope_delim - 1);
319 *scope_id = NULL;
/freebsd-13-stable/sys/netinet/
H A Dsctp_header.h199 uint32_t scope_id; /* v6 scope id for link-locals */ member in struct:sctp_state_cookie
H A Dsctp_output.c5628 /* scope_id is only for v6 */
5629 stc.scope_id = 0;
5649 stc.scope_id = ntohs(in6_getscope(&src6->sin6_addr));
5679 * pull out the scope_id from
5758 /* scope_id is only for v6 */
5759 stc.scope_id = 0;
5768 stc.scope_id = sin6->sin6_scope_id;
H A Dsctp_input.c2179 store.sin6.sin6_scope_id = cookie->scope_id;
2503 sin6.sin6_scope_id = cookie->scope_id;
/freebsd-13-stable/usr.sbin/ifmcstat/
H A Difmcstat.c769 inet6_n2a(struct in6_addr *p, uint32_t scope_id) argument
779 sin6.sin6_scope_id = scope_id;
/freebsd-13-stable/sys/contrib/rdma/krping/
H A Dkrping.c2046 uint16_t scope_id = krping_get_ipv6_scope_id(scope); local
2047 DEBUG_LOG("ipv6 scope ID = %d\n", scope_id);
2048 cb->addr[2] = scope_id >> 8;
2049 cb->addr[3] = scope_id & 0xFF;
/freebsd-13-stable/contrib/libpcap/rpcapd/
H A Ddaemon.c2492 sockaddrout_ipv6->scope_id = htonl(sockaddrin_ipv6->sin6_scope_id);

Completed in 373 milliseconds