Home
last modified time | relevance | path

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

/net/x25/
Dx25_facilities.c41 int x25_parse_facilities(struct sk_buff *skb, struct x25_facilities *facilities, in x25_parse_facilities() argument
78 facilities->reverse = p[1] & 0x81; in x25_parse_facilities()
84 facilities->reverse = p[1] & 0x01; in x25_parse_facilities()
90 facilities->reverse = p[1] & 0x80; in x25_parse_facilities()
96 facilities->reverse in x25_parse_facilities()
103 facilities->throughput = p[1]; in x25_parse_facilities()
122 facilities->pacsize_in = p[1]; in x25_parse_facilities()
123 facilities->pacsize_out = p[2]; in x25_parse_facilities()
127 facilities->winsize_in = p[1]; in x25_parse_facilities()
128 facilities->winsize_out = p[2]; in x25_parse_facilities()
[all …]
Daf_x25.c578 x25->facilities.winsize_in = X25_DEFAULT_WINDOW_SIZE; in x25_create()
579 x25->facilities.winsize_out = X25_DEFAULT_WINDOW_SIZE; in x25_create()
580 x25->facilities.pacsize_in = X25_DEFAULT_PACKET_SIZE; in x25_create()
581 x25->facilities.pacsize_out = X25_DEFAULT_PACKET_SIZE; in x25_create()
582 x25->facilities.throughput = 0; /* by default don't negotiate in x25_create()
584 x25->facilities.reverse = X25_DEFAULT_REVERSE; in x25_create()
625 x25->facilities = ox25->facilities; in x25_make_new()
792 x25_limit_facilities(&x25->facilities, x25->neighbour); in x25_connect()
946 struct x25_facilities facilities; in x25_rx_call_request() local
1025 len = x25_negotiate_facilities(skb, sk, &facilities, &dte_facilities); in x25_rx_call_request()
[all …]
Dx25_subr.c114 unsigned char facilities[X25_MAX_FAC_LEN]; in x25_write_internal() local
130 if (x25->facilities.reverse & 0x80) { in x25_write_internal()
187 len = x25_create_facilities(facilities, in x25_write_internal()
188 &x25->facilities, in x25_write_internal()
191 skb_put_data(skb, facilities, len); in x25_write_internal()
201 len = x25_create_facilities(facilities, in x25_write_internal()
202 &x25->facilities, in x25_write_internal()
205 skb_put_data(skb, facilities, len); in x25_write_internal()
210 if(x25->facilities.reverse & 0x80) { in x25_write_internal()
Dx25_out.c56 int max_len = x25_pacsize_to_bytes(x25->facilities.pacsize_out); in x25_output()
165 end = (x25->va + x25->facilities.winsize_out) % modulus; in x25_kick()
Dx25_in.c118 len = x25_parse_facilities(skb, &x25->facilities, in x25_state1_machine()
299 if (((x25->vl + x25->facilities.winsize_in) % modulus) == x25->vr) { in x25_state3_machine()
/net/rose/
Drose_subr.c239 static int rose_parse_national(unsigned char *p, struct rose_facilities_struct *facilities, int len) in rose_parse_national() argument
259 facilities->rand = ((p[1] << 8) & 0xFF00) + ((p[2] << 0) & 0x00FF); in rose_parse_national()
283 memcpy(&facilities->source_digis[0], p + 2, AX25_ADDR_LEN); in rose_parse_national()
284 facilities->source_ndigis = 1; in rose_parse_national()
291 memcpy(&facilities->dest_digis[0], p + 2, AX25_ADDR_LEN); in rose_parse_national()
292 facilities->dest_ndigis = 1; in rose_parse_national()
298 memcpy(&facilities->fail_call, p + 2, AX25_ADDR_LEN); in rose_parse_national()
303 memcpy(&facilities->fail_addr, p + 3, ROSE_ADDR_LEN); in rose_parse_national()
309 facilities->source_ndigis = 0; in rose_parse_national()
310 facilities->dest_ndigis = 0; in rose_parse_national()
[all …]
Daf_rose.c996 struct rose_facilities_struct facilities; in rose_rx_call_request() local
1004 memset(&facilities, 0x00, sizeof(struct rose_facilities_struct)); in rose_rx_call_request()
1008 &facilities)) { in rose_rx_call_request()
1013 sk = rose_find_listener(&facilities.source_addr, &facilities.source_call); in rose_rx_call_request()
1029 make_rose->dest_addr = facilities.dest_addr; in rose_rx_call_request()
1030 make_rose->dest_call = facilities.dest_call; in rose_rx_call_request()
1031 make_rose->dest_ndigis = facilities.dest_ndigis; in rose_rx_call_request()
1032 for (n = 0 ; n < facilities.dest_ndigis ; n++) in rose_rx_call_request()
1033 make_rose->dest_digis[n] = facilities.dest_digis[n]; in rose_rx_call_request()
1034 make_rose->source_addr = facilities.source_addr; in rose_rx_call_request()
[all …]
Drose_route.c858 struct rose_facilities_struct facilities; in rose_route_frame() local
1020 memset(&facilities, 0x00, sizeof(struct rose_facilities_struct)); in rose_route_frame()
1024 &facilities)) { in rose_route_frame()
1034 if (rose_route->rand == facilities.rand && in rose_route_frame()
1036 ax25cmp(&facilities.dest_call, &rose_route->src_call) == 0 && in rose_route_frame()
1037 ax25cmp(&facilities.source_call, &rose_route->dest_call) == 0) { in rose_route_frame()
1062 rose_route->src_call = facilities.dest_call; in rose_route_frame()
1063 rose_route->dest_call = facilities.source_call; in rose_route_frame()
1064 rose_route->rand = facilities.rand; in rose_route_frame()
/net/ipv4/
DKconfig173 mobile-IP facilities (allowing laptops to seamlessly move between