Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet/in.h
Show First 20 Lines • Show All 631 Lines • ▼ Show 20 Lines | #define IPCTL_FASTFORWARDING 14 /* use fast IP forwarding code */ | ||||
/* 15, unused, was: IPCTL_KEEPFAITH */ | /* 15, unused, was: IPCTL_KEEPFAITH */ | ||||
#define IPCTL_GIF_TTL 16 /* default TTL for gif encap packet */ | #define IPCTL_GIF_TTL 16 /* default TTL for gif encap packet */ | ||||
#endif /* __BSD_VISIBLE */ | #endif /* __BSD_VISIBLE */ | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
struct ifnet; struct mbuf; /* forward declarations for Standard C */ | struct ifnet; struct mbuf; /* forward declarations for Standard C */ | ||||
struct in_ifaddr; | |||||
int in_broadcast(struct in_addr, struct ifnet *); | int in_broadcast(struct in_addr, struct ifnet *); | ||||
int in_ifaddr_broadcast(struct in_addr, struct in_ifaddr *); | |||||
int in_canforward(struct in_addr); | int in_canforward(struct in_addr); | ||||
int in_localaddr(struct in_addr); | int in_localaddr(struct in_addr); | ||||
int in_localip(struct in_addr); | int in_localip(struct in_addr); | ||||
int in_ifhasaddr(struct ifnet *, struct in_addr); | int in_ifhasaddr(struct ifnet *, struct in_addr); | ||||
int inet_aton(const char *, struct in_addr *); /* in libkern */ | int inet_aton(const char *, struct in_addr *); /* in libkern */ | ||||
char *inet_ntoa(struct in_addr); /* in libkern */ | char *inet_ntoa(struct in_addr); /* in libkern */ | ||||
char *inet_ntoa_r(struct in_addr ina, char *buf); /* in libkern */ | char *inet_ntoa_r(struct in_addr ina, char *buf); /* in libkern */ | ||||
char *inet_ntop(int, const void *, char *, socklen_t); /* in libkern */ | char *inet_ntop(int, const void *, char *, socklen_t); /* in libkern */ | ||||
Show All 20 Lines |