Lines Matching refs:cmsghdr
538 #define IPV6_2292PKTOPTIONS 25 /* buf/cmsghdr; set/get IPv6 options */
826 struct cmsghdr;
906 struct cmsghdr;
909 extern int inet6_option_init(void *, struct cmsghdr **, int);
910 extern int inet6_option_append(struct cmsghdr *, const __uint8_t *,
912 extern __uint8_t *inet6_option_alloc(struct cmsghdr *, int, int, int);
913 extern int inet6_option_next(const struct cmsghdr *, __uint8_t **);
914 extern int inet6_option_find(const struct cmsghdr *, __uint8_t **, int);
917 extern struct cmsghdr *inet6_rthdr_init(void *, int);
918 extern int inet6_rthdr_add(struct cmsghdr *, const struct in6_addr *,
920 extern int inet6_rthdr_lasthop(struct cmsghdr *, unsigned int);
922 extern int inet6_rthdr_reverse(const struct cmsghdr *, struct cmsghdr *);
924 extern int inet6_rthdr_segments(const struct cmsghdr *);
925 extern struct in6_addr *inet6_rthdr_getaddr(struct cmsghdr *, int);
926 extern int inet6_rthdr_getflags(const struct cmsghdr *, int);