Lines Matching full:sockaddr
39 struct sockaddr sa;
48 extern int cmpsaddrwop __P((const struct sockaddr *, const struct sockaddr *));
49 extern int cmpsaddrwild __P((const struct sockaddr *, const struct sockaddr *));
50 extern int cmpsaddrstrict __P((const struct sockaddr *, const struct sockaddr *));
58 extern struct sockaddr *getlocaladdr __P((struct sockaddr *));
61 struct sockaddr *, socklen_t *, struct sockaddr *, unsigned int *));
63 struct sockaddr *, struct sockaddr *, int));
67 extern struct sockaddr *newsaddr __P((int));
68 extern struct sockaddr *dupsaddr __P((struct sockaddr *));
69 extern char *saddr2str __P((const struct sockaddr *));
70 extern char *saddrwop2str __P((const struct sockaddr *));
72 const struct sockaddr *saddr,
73 const struct sockaddr *daddr));
74 extern struct sockaddr *str2saddr __P((char *, char *));
75 extern void mask_sockaddr __P((struct sockaddr *, const struct sockaddr *,
82 extern int naddr_score(const struct netaddr *naddr, const struct sockaddr *saddr);
84 /* Some usefull functions for sockaddr port manipulations. */
85 extern u_int16_t extract_port __P((const struct sockaddr *addr));
86 extern u_int16_t *set_port __P((struct sockaddr *addr, u_int16_t new_port));
87 extern u_int16_t *get_port_ptr __P((struct sockaddr *addr));