MCPcopy Create free account
hub / github.com/F-Stack/f-stack / lltable_dump_af

Function lltable_dump_af

freebsd/net/if_llatbl.c:87–105  ·  view source on GitHub ↗

* Dump lle state for a specific address family. */

Source from the content-addressed store, hash-verified

85 * Dump lle state for a specific address family.
86 */
87static int
88lltable_dump_af(struct lltable *llt, struct sysctl_req *wr)
89{
90 struct epoch_tracker et;
91 int error;
92
93 LLTABLE_LIST_LOCK_ASSERT();
94
95 if (llt->llt_ifp->if_flags & IFF_LOOPBACK)
96 return (0);
97 error = 0;
98
99 NET_EPOCH_ENTER(et);
100 error = lltable_foreach_lle(llt,
101 (llt_foreach_cb_t *)llt->llt_dump_entry, wr);
102 NET_EPOCH_EXIT(et);
103
104 return (error);
105}
106
107/*
108 * Dump arp state for a specific address family.

Callers 1

lltable_sysctl_dumparpFunction · 0.85

Calls 1

lltable_foreach_lleFunction · 0.85

Tested by

no test coverage detected