Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/ip_output.c
Show First 20 Lines • Show All 100 Lines • ▼ Show 20 Lines | |||||
static int mbuf_frag_size = 0; | static int mbuf_frag_size = 0; | ||||
SYSCTL_INT(_net_inet_ip, OID_AUTO, mbuf_frag_size, CTLFLAG_RW, | SYSCTL_INT(_net_inet_ip, OID_AUTO, mbuf_frag_size, CTLFLAG_RW, | ||||
&mbuf_frag_size, 0, "Fragment outgoing mbufs to this size"); | &mbuf_frag_size, 0, "Fragment outgoing mbufs to this size"); | ||||
#endif | #endif | ||||
static void ip_mloopback(struct ifnet *, const struct mbuf *, int); | static void ip_mloopback(struct ifnet *, const struct mbuf *, int); | ||||
extern int in_mcast_loop; | extern int in_mcast_loop; | ||||
extern struct protosw inetsw[]; | |||||
static inline int | static inline int | ||||
ip_output_pfil(struct mbuf **mp, struct ifnet *ifp, int flags, | ip_output_pfil(struct mbuf **mp, struct ifnet *ifp, int flags, | ||||
struct inpcb *inp, struct sockaddr_in *dst, int *fibnum, int *error) | struct inpcb *inp, struct sockaddr_in *dst, int *fibnum, int *error) | ||||
{ | { | ||||
struct m_tag *fwd_tag = NULL; | struct m_tag *fwd_tag = NULL; | ||||
struct mbuf *m; | struct mbuf *m; | ||||
struct in_addr odst; | struct in_addr odst; | ||||
▲ Show 20 Lines • Show All 1,484 Lines • Show Last 20 Lines |