Home
last modified time | relevance | path

Searched refs:facilities (Results 1 – 9 of 9) sorted by relevance

/net/x25/
Dx25_facilities.c46 int x25_parse_facilities(struct sk_buff *skb, struct x25_facilities *facilities, in x25_parse_facilities() argument
83 facilities->reverse = p[1] & 0x81; in x25_parse_facilities()
89 facilities->reverse = p[1] & 0x01; in x25_parse_facilities()
95 facilities->reverse = p[1] & 0x80; in x25_parse_facilities()
101 facilities->reverse in x25_parse_facilities()
108 facilities->throughput = p[1]; in x25_parse_facilities()
127 facilities->pacsize_in = p[1]; in x25_parse_facilities()
128 facilities->pacsize_out = p[2]; in x25_parse_facilities()
132 facilities->winsize_in = p[1]; in x25_parse_facilities()
133 facilities->winsize_out = p[2]; in x25_parse_facilities()
[all …]
Daf_x25.c576 x25->facilities.winsize_in = X25_DEFAULT_WINDOW_SIZE; in x25_create()
577 x25->facilities.winsize_out = X25_DEFAULT_WINDOW_SIZE; in x25_create()
578 x25->facilities.pacsize_in = X25_DEFAULT_PACKET_SIZE; in x25_create()
579 x25->facilities.pacsize_out = X25_DEFAULT_PACKET_SIZE; in x25_create()
580 x25->facilities.throughput = 0; /* by default don't negotiate in x25_create()
582 x25->facilities.reverse = X25_DEFAULT_REVERSE; in x25_create()
623 x25->facilities = ox25->facilities; in x25_make_new()
790 x25_limit_facilities(&x25->facilities, x25->neighbour); in x25_connect()
943 struct x25_facilities facilities; in x25_rx_call_request() local
1022 len = x25_negotiate_facilities(skb, sk, &facilities, &dte_facilities); in x25_rx_call_request()
[all …]
Dx25_subr.c119 unsigned char facilities[X25_MAX_FAC_LEN]; in x25_write_internal() local
135 if (x25->facilities.reverse & 0x80) { in x25_write_internal()
193 len = x25_create_facilities(facilities, in x25_write_internal()
194 &x25->facilities, in x25_write_internal()
198 memcpy(dptr, facilities, len); in x25_write_internal()
209 len = x25_create_facilities(facilities, in x25_write_internal()
210 &x25->facilities, in x25_write_internal()
214 memcpy(dptr, facilities, len); in x25_write_internal()
219 if(x25->facilities.reverse & 0x80) { in x25_write_internal()
Dx25_out.c61 int max_len = x25_pacsize_to_bytes(x25->facilities.pacsize_out); in x25_output()
170 end = (x25->va + x25->facilities.winsize_out) % modulus; in x25_kick()
Dx25_in.c123 len = x25_parse_facilities(skb, &x25->facilities, in x25_state1_machine()
295 if (((x25->vl + x25->facilities.winsize_in) % modulus) == x25->vr) { in x25_state3_machine()
/net/rose/
Drose_subr.c242 static int rose_parse_national(unsigned char *p, struct rose_facilities_struct *facilities, int len) in rose_parse_national() argument
262 facilities->rand = ((p[1] << 8) & 0xFF00) + ((p[2] << 0) & 0x00FF); in rose_parse_national()
286 memcpy(&facilities->source_digis[0], p + 2, AX25_ADDR_LEN); in rose_parse_national()
287 facilities->source_ndigis = 1; in rose_parse_national()
294 memcpy(&facilities->dest_digis[0], p + 2, AX25_ADDR_LEN); in rose_parse_national()
295 facilities->dest_ndigis = 1; in rose_parse_national()
301 memcpy(&facilities->fail_call, p + 2, AX25_ADDR_LEN); in rose_parse_national()
306 memcpy(&facilities->fail_addr, p + 3, ROSE_ADDR_LEN); in rose_parse_national()
312 facilities->source_ndigis = 0; in rose_parse_national()
313 facilities->dest_ndigis = 0; in rose_parse_national()
[all …]
Daf_rose.c974 struct rose_facilities_struct facilities; in rose_rx_call_request() local
982 memset(&facilities, 0x00, sizeof(struct rose_facilities_struct)); in rose_rx_call_request()
986 &facilities)) { in rose_rx_call_request()
991 sk = rose_find_listener(&facilities.source_addr, &facilities.source_call); in rose_rx_call_request()
1007 make_rose->dest_addr = facilities.dest_addr; in rose_rx_call_request()
1008 make_rose->dest_call = facilities.dest_call; in rose_rx_call_request()
1009 make_rose->dest_ndigis = facilities.dest_ndigis; in rose_rx_call_request()
1010 for (n = 0 ; n < facilities.dest_ndigis ; n++) in rose_rx_call_request()
1011 make_rose->dest_digis[n] = facilities.dest_digis[n]; in rose_rx_call_request()
1012 make_rose->source_addr = facilities.source_addr; in rose_rx_call_request()
[all …]
Drose_route.c857 struct rose_facilities_struct facilities; in rose_route_frame() local
1019 memset(&facilities, 0x00, sizeof(struct rose_facilities_struct)); in rose_route_frame()
1023 &facilities)) { in rose_route_frame()
1033 if (rose_route->rand == facilities.rand && in rose_route_frame()
1035 ax25cmp(&facilities.dest_call, &rose_route->src_call) == 0 && in rose_route_frame()
1036 ax25cmp(&facilities.source_call, &rose_route->dest_call) == 0) { in rose_route_frame()
1061 rose_route->src_call = facilities.dest_call; in rose_route_frame()
1062 rose_route->dest_call = facilities.source_call; in rose_route_frame()
1063 rose_route->rand = facilities.rand; in rose_route_frame()
/net/ipv4/
DKconfig174 mobile-IP facilities (allowing laptops to seamlessly move between