Lines Matching refs:called_len
75 int called_len, calling_len; in x25_addr_ntoa() local
79 called_len = (*p >> 0) & 0x0F; in x25_addr_ntoa()
86 for (i = 0; i < (called_len + calling_len); i++) { in x25_addr_ntoa()
87 if (i < called_len) { in x25_addr_ntoa()
107 return 1 + (called_len + calling_len + 1) / 2; in x25_addr_ntoa()
112 unsigned int called_len, calling_len; in x25_addr_aton() local
119 called_len = strlen(called); in x25_addr_aton()
122 *p++ = (calling_len << 4) | (called_len << 0); in x25_addr_aton()
124 for (i = 0; i < (called_len + calling_len); i++) { in x25_addr_aton()
125 if (i < called_len) { in x25_addr_aton()
144 return 1 + (called_len + calling_len + 1) / 2; in x25_addr_aton()