[BACK]Return to addr.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/addr.h between version 1.1 and 1.2

version 1.1, 2021/01/09 11:58:50 version 1.2, 2022/10/28 02:29:34
Line 52 
Line 52 
 int addr_pton_cidr(const char *p, struct xaddr *n, u_int *l);  int addr_pton_cidr(const char *p, struct xaddr *n, u_int *l);
 int addr_ntop(const struct xaddr *n, char *p, size_t len);  int addr_ntop(const struct xaddr *n, char *p, size_t len);
 int addr_and(struct xaddr *dst, const struct xaddr *a, const struct xaddr *b);  int addr_and(struct xaddr *dst, const struct xaddr *a, const struct xaddr *b);
   int addr_or(struct xaddr *dst, const struct xaddr *a, const struct xaddr *b);
 int addr_cmp(const struct xaddr *a, const struct xaddr *b);  int addr_cmp(const struct xaddr *a, const struct xaddr *b);
 int addr_is_all0s(const struct xaddr *n);  int addr_is_all0s(const struct xaddr *n);
 int addr_host_is_all0s(const struct xaddr *n, u_int masklen);  int addr_host_is_all0s(const struct xaddr *n, u_int masklen);
   int addr_host_to_all0s(struct xaddr *a, u_int masklen);
   int addr_host_to_all1s(struct xaddr *a, u_int masklen);
 int addr_netmatch(const struct xaddr *host, const struct xaddr *net,  int addr_netmatch(const struct xaddr *host, const struct xaddr *net,
     u_int masklen);      u_int masklen);
   void addr_increment(struct xaddr *a);
 #endif /* _ADDR_H */  #endif /* _ADDR_H */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2