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

/freebsd-head/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-head/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-head/tests/sys/net/routing/
H A Drtsock_print.h209 int scope_id = sin6->sin6_scope_id; local
211 if (scope_id != 0) {
213 if_indextoname(scope_id, ifbuf);
214 printf(" scope_id=%d if_name=%s", scope_id, ifbuf);
/freebsd-head/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-head/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-head/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-head/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.cpp1325 VariableSP SymbolFileNativePDB::CreateLocalVariable(PdbCompilandSymId scope_id, argument
1329 Block &block = GetOrCreateBlock(scope_id);
1351 m_ast->GetOrCreateVariableDecl(scope_id, var_id);
1358 PdbCompilandSymId scope_id, PdbCompilandSymId var_id, bool is_param) {
1363 return CreateLocalVariable(scope_id, var_id, is_param);
1357 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);
845 PdbAstBuilder::GetOrCreateVariableDecl(PdbCompilandSymId scope_id, argument
850 clang::DeclContext *scope = GetOrCreateDeclContextForUid(scope_id);
/freebsd-head/contrib/apr/network_io/unix/
H A Dsockaddr.c204 char **scope_id,
214 *scope_id = NULL; /* assume not specified */
272 *scope_id = apr_palloc(p, end_bracket - scope_delim);
273 memcpy(*scope_id, scope_delim + 1, end_bracket - scope_delim - 1);
274 (*scope_id)[end_bracket - scope_delim - 1] = '\0';
287 *scope_id = NULL;
/freebsd-head/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-head/contrib/apr/include/
H A Dapr_network_io.h432 * @param scope_id The new buffer containing just the scope id. On output,
433 * *scope_id will be NULL if no scope id was specified.
439 * @param p The pool from which *addr and *scope_id are allocated.
440 * @remark If scope id shouldn't be allowed, check for scope_id != NULL in
446 char **scope_id,
/freebsd-head/sys/netinet/
H A Dsctp_header.h205 uint32_t scope_id; /* v6 scope id for link-locals */ member in struct:sctp_state_cookie
H A Dsctp_output.c5669 /* scope_id is only for v6 */
5670 stc.scope_id = 0;
5690 stc.scope_id = ntohs(in6_getscope(&src6->sin6_addr));
5720 * pull out the scope_id from
5800 /* scope_id is only for v6 */
5801 stc.scope_id = 0;
5810 stc.scope_id = sin6->sin6_scope_id;
H A Dsctp_input.c2331 store.sin6.sin6_scope_id = cookie->scope_id;
2662 sin6.sin6_scope_id = cookie->scope_id;
/freebsd-head/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-head/sys/contrib/rdma/krping/
H A Dkrping.c2041 uint16_t scope_id = krping_get_ipv6_scope_id(scope); local
2042 DEBUG_LOG("ipv6 scope ID = %d\n", scope_id);
2043 cb->addr[2] = scope_id >> 8;
2044 cb->addr[3] = scope_id & 0xFF;
/freebsd-head/contrib/libpcap/rpcapd/
H A Ddaemon.c2492 sockaddrout_ipv6->scope_id = htonl(sockaddrin_ipv6->sin6_scope_id);

Completed in 180 milliseconds