Home
last modified time | relevance | path

Searched refs:llt (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/net/
H A Dif_llatbl.c81 static void lltable_unlink(struct lltable *llt);
82 static void llentries_unlink(struct lltable *llt, struct llentries *head);
88 lltable_dump_af(struct lltable *llt, struct sysctl_req *wr) in lltable_dump_af() argument
95 if (llt->llt_ifp->if_flags & IFF_LOOPBACK) in lltable_dump_af()
100 error = lltable_foreach_lle(llt, in lltable_dump_af()
101 (llt_foreach_cb_t *)llt->llt_dump_entry, wr); in lltable_dump_af()
113 struct lltable *llt; in lltable_sysctl_dumparp() local
117 SLIST_FOREACH(llt, &V_lltables, llt_link) { in lltable_sysctl_dumparp()
118 if (llt->llt_af == af) { in lltable_sysctl_dumparp()
119 error = lltable_dump_af(llt, wr); in lltable_sysctl_dumparp()
[all …]
H A Dif_llatbl.h196 #define LLTABLE_LOCK(llt) mtx_lock(&(llt)->llt_lock) argument
197 #define LLTABLE_UNLOCK(llt) mtx_unlock(&(llt)->llt_lock) argument
198 #define LLTABLE_LOCK_ASSERT(llt) mtx_assert(&(llt)->llt_lock, MA_OWNED) argument
199 #define LLTABLE_RLOCK_ASSERT(llt) MPASS(in_epoch(net_epoch_preempt) || \ argument
200 mtx_owned(&(llt)->llt_lock))
235 void lltable_link(struct lltable *llt);
257 void lltable_update_ifaddr(struct lltable *llt);
258 struct llentry *lltable_alloc_entry(struct lltable *llt, u_int flags,
260 void lltable_free_entry(struct lltable *llt, struct llentry *lle);
261 int lltable_delete_addr(struct lltable *llt, u_int flags,
[all …]
/freebsd/sys/netlink/route/
H A Dneigh.c208 dump_lle(struct lltable *llt, struct llentry *lle, void *arg) in dump_lle() argument
219 dump_llt(struct lltable *llt, struct netlink_walkargs *wa) in dump_llt() argument
221 lltable_foreach_lle(llt, dump_lle, wa); in dump_llt()
234 struct lltable *llt = lltable_get(ifp, fam); in dump_llts_iface() local
235 if (llt != NULL && (family == 0 || family == fam)) { in dump_llts_iface()
238 if (!dump_llt(llt, wa)) { in dump_llts_iface()
279 struct lltable *llt = lltable_get(ifp, family); in get_lle() local
280 if (llt == NULL) in get_lle()
283 struct llentry *lle = lla_lookup(llt, LLE_UNLOCKED, dst); in get_lle()
290 return (dump_lle(llt, lle, wa)); in get_lle()
[all …]
/freebsd/sys/netinet/
H A Din.c1576 in_lltable_free_entry(struct lltable *llt, struct llentry *lle) in in_lltable_free_entry() argument
1581 KASSERT(llt != NULL, ("lltable is NULL")); in in_lltable_free_entry()
1585 LLTABLE_LOCK_ASSERT(llt); in in_lltable_free_entry()
1586 lltable_unlink_entry(llt, lle); in in_lltable_free_entry()
1680 in_lltable_find_dst(struct lltable *llt, struct in_addr dst) in in_lltable_find_dst() argument
1686 hashidx = in_lltable_hash_dst(dst, llt->llt_hsize); in in_lltable_find_dst()
1687 lleh = &llt->lle_head[hashidx]; in in_lltable_find_dst()
1699 in_lltable_delete_entry(struct lltable *llt, struct llentry *lle) in in_lltable_delete_entry() argument
1711 in_lltable_alloc(struct lltable *llt, u_int flags, const struct sockaddr *l3addr) in in_lltable_alloc() argument
1714 struct ifnet *ifp = llt->llt_ifp; in in_lltable_alloc()
[all …]
/freebsd/sys/netinet6/
H A Din6.c2274 in6_lltable_free_entry(struct lltable *llt, struct llentry *lle) in in6_lltable_free_entry() argument
2278 KASSERT(llt != NULL, ("lltable is NULL")); in in6_lltable_free_entry()
2282 LLTABLE_LOCK_ASSERT(llt); in in6_lltable_free_entry()
2283 lltable_unlink_entry(llt, lle); in in6_lltable_free_entry()
2353 in6_lltable_find_dst(struct lltable *llt, const struct in6_addr *dst) in in6_lltable_find_dst() argument
2359 hashidx = in6_lltable_hash_dst(dst, llt->llt_hsize); in in6_lltable_find_dst()
2360 lleh = &llt->lle_head[hashidx]; in in6_lltable_find_dst()
2372 in6_lltable_delete_entry(struct lltable *llt, struct llentry *lle) in in6_lltable_delete_entry() argument
2379 in6_leave_proxy_ndp_mc(llt->llt_ifp, &lle->r_l3addr.addr6); in in6_lltable_delete_entry()
2388 in6_lltable_alloc(struct lltable *llt, u_int flags, in in6_lltable_alloc() argument
[all …]
/freebsd/contrib/wpa/src/fst/
H A Dfst_iface.c35 if (!i->cfg.llt) { in fst_iface_create()
37 i->cfg.llt = FST_DEFAULT_LLT_CFG_VALUE; in fst_iface_create()
H A Dfst_session.c486 fst_session_set_llt(s, FST_LLT_VAL_TO_MS(le_to_host32(req->llt))); in fst_session_handle_setup_request()
796 void fst_session_set_llt(struct fst_session *s, u32 llt) in fst_session_set_llt() argument
798 s->data.llt_ms = llt; in fst_session_set_llt()
891 req.llt = host_to_le32(FST_LLT_MS_TO_VAL(s->data.llt_ms)); in fst_session_initiate_setup()
1270 long int llt = strtol(llt_str, &endp, 0); in fst_session_set_str_llt() local
1272 if (*endp || llt < 0 || (unsigned long int) llt > FST_MAX_LLT_MS) { in fst_session_set_str_llt()
1278 fst_session_set_llt(s, (u32) llt); in fst_session_set_str_llt()
1372 req.llt = host_to_le32(FST_LLT_MS_DEFAULT); in fst_test_req_send_fst_request()
H A Dfst_defs.h50 le32 llt; member
H A Dfst_session.h28 void fst_session_set_llt(struct fst_session *s, u32 llt);
H A Dfst.h221 u32 llt; member
H A Dfst_iface.h61 return i->cfg.llt; in fst_iface_get_llt()
H A Dfst.c84 cfg->group_id, cfg->priority, cfg->llt); in fst_attach()
H A Dfst_ctrl_iface.c898 cfg->llt = FST_DEFAULT_LLT_CFG_VALUE; in fst_parse_attach_command()
907 cfg->llt = val; in fst_parse_attach_command()
/freebsd/contrib/wpa/hostapd/
H A Dconfig_file.c4658 conf->fst_cfg.llt = (u32) val; in hostapd_config_fill()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dwpa_supplicant.c7446 cfg.llt = wpa_s->conf->fst_llt; in wpa_supplicant_init_iface()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.td5079 defm : TrapExtendedMnemonic<"llt", 2>;