Lines Matching defs:if
46 * The output routine encapsulates the supplied datagram if necessary,
57 * interfaces. These routines live in the files if.c and route.c
175 * flags: IFENCAP_FLAG_BROADCAST if destination is broadcast
184 * hdata: L3 header may be altered if necessary
240 uint16_t vlan_id; /* valid if non-zero */
326 const uint64_t *rate_table; /* Pointer to table if present */
340 #define IF_ADDR_LOCK_INIT(if) mtx_init(&(if)->if_addr_lock, "if_addr_lock", NULL, MTX_DEF)
341 #define IF_ADDR_LOCK_DESTROY(if) mtx_destroy(&(if)->if_addr_lock)
343 #define IF_ADDR_WLOCK(if) mtx_lock(&(if)->if_addr_lock)
344 #define IF_ADDR_WUNLOCK(if) mtx_unlock(&(if)->if_addr_lock)
345 #define IF_ADDR_LOCK_ASSERT(if) MPASS(in_epoch(net_epoch_preempt) || mtx_owned(&(if)->if_addr_lock))
346 #define IF_ADDR_WLOCK_ASSERT(if) mtx_assert(&(if)->if_addr_lock, MA_OWNED)
463 struct sockaddr *ifma_lladdr; /* link-layer translation, if any */
467 void *ifma_protospec; /* protocol-specific state, if any */