Lines Matching refs:facilities

562 	x25->facilities.winsize_in  = X25_DEFAULT_WINDOW_SIZE;  in x25_create()
563 x25->facilities.winsize_out = X25_DEFAULT_WINDOW_SIZE; in x25_create()
564 x25->facilities.pacsize_in = X25_DEFAULT_PACKET_SIZE; in x25_create()
565 x25->facilities.pacsize_out = X25_DEFAULT_PACKET_SIZE; in x25_create()
566 x25->facilities.throughput = 0; /* by default don't negotiate in x25_create()
568 x25->facilities.reverse = X25_DEFAULT_REVERSE; in x25_create()
609 x25->facilities = ox25->facilities; in x25_make_new()
782 x25_limit_facilities(&x25->facilities, x25->neighbour); in x25_connect()
936 struct x25_facilities facilities; in x25_rx_call_request() local
1015 len = x25_negotiate_facilities(skb, sk, &facilities, &dte_facilities); in x25_rx_call_request()
1024 x25_limit_facilities(&facilities, nb); in x25_rx_call_request()
1047 makex25->facilities = facilities; in x25_rx_call_request()
1431 rc = copy_to_user(argp, &x25->facilities, in x25_ioctl()
1432 sizeof(x25->facilities)) in x25_ioctl()
1439 struct x25_facilities facilities; in x25_ioctl() local
1441 if (copy_from_user(&facilities, argp, sizeof(facilities))) in x25_ioctl()
1448 if (facilities.pacsize_in < X25_PS16 || in x25_ioctl()
1449 facilities.pacsize_in > X25_PS4096) in x25_ioctl()
1451 if (facilities.pacsize_out < X25_PS16 || in x25_ioctl()
1452 facilities.pacsize_out > X25_PS4096) in x25_ioctl()
1454 if (facilities.winsize_in < 1 || in x25_ioctl()
1455 facilities.winsize_in > 127) in x25_ioctl()
1457 if (facilities.throughput) { in x25_ioctl()
1458 int out = facilities.throughput & 0xf0; in x25_ioctl()
1459 int in = facilities.throughput & 0x0f; in x25_ioctl()
1461 facilities.throughput |= in x25_ioctl()
1466 facilities.throughput |= in x25_ioctl()
1471 if (facilities.reverse && in x25_ioctl()
1472 (facilities.reverse & 0x81) != 0x81) in x25_ioctl()
1474 x25->facilities = facilities; in x25_ioctl()