Home
last modified time | relevance | path

Searched refs:nbr (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/sgs/m4/common/
H A Dm4.c731 pbnbr(long nbr, int base, int len) in pbnbr() argument
738 if (nbr < 0) in pbnbr()
741 nbr = -nbr; in pbnbr()
743 while (nbr < 0) { in pbnbr()
746 i = nbr%base; in pbnbr()
747 nbr /= base; in pbnbr()
751 ++nbr; in pbnbr()
757 ++nbr; in pbnbr()
864 xcalloc(size_t nbr, size_t size) in xcalloc() argument
868 ptr = xmalloc(nbr * size); in xcalloc()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ospf.c133 struct in_addr *nbr; in interpret_ospf_hello() local
150 nbr = op->ospf_hello.hello_neighbor; in interpret_ospf_hello()
152 while ((uchar_t *)nbr < ((uchar_t *)op + fraglen)) { in interpret_ospf_hello()
153 if ((uchar_t *)nbr + sizeof (struct in_addr) > in interpret_ospf_hello()
157 ++nbr; in interpret_ospf_hello()
189 nbr = op->ospf_hello.hello_neighbor; in interpret_ospf_hello()
190 while ((uchar_t *)nbr < ((uchar_t *)op + fraglen)) { in interpret_ospf_hello()
191 if ((uchar_t *)nbr + sizeof (struct in_addr) > in interpret_ospf_hello()
195 "Neighbor: %s", inet_ntoa(*nbr)); in interpret_ospf_hello()
196 ++nbr; in interpret_ospf_hello()
H A Dsnoop_ospf6.c80 uint32_t *nbr; in interpret_ospf6_hello() local
98 nbr = op->ospf6_hello.hello_neighbor; in interpret_ospf6_hello()
99 while ((uchar_t *)nbr < ((uchar_t *)op + fraglen)) { in interpret_ospf6_hello()
100 if ((uchar_t *)nbr + sizeof (struct in_addr) > in interpret_ospf6_hello()
103 ++nbr; in interpret_ospf6_hello()
137 nbr = op->ospf6_hello.hello_neighbor; in interpret_ospf6_hello()
138 while ((uchar_t *)nbr < ((uchar_t *)op + fraglen)) { in interpret_ospf6_hello()
139 if ((uchar_t *)nbr + sizeof (struct in_addr) > in interpret_ospf6_hello()
143 "Neigbor: %s", print_ipaddr(*nbr)); in interpret_ospf6_hello()
144 ++nbr; in interpret_ospf6_hello()