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()
787 x25_limit_facilities(&x25->facilities, x25->neighbour); in x25_connect()
941 struct x25_facilities facilities; in x25_rx_call_request() local
1020 len = x25_negotiate_facilities(skb, sk, &facilities, &dte_facilities); in x25_rx_call_request()
1029 x25_limit_facilities(&facilities, nb); in x25_rx_call_request()
1052 makex25->facilities = facilities; in x25_rx_call_request()
1435 rc = copy_to_user(argp, &x25->facilities, in x25_ioctl()
1436 sizeof(x25->facilities)) in x25_ioctl()
1443 struct x25_facilities facilities; in x25_ioctl() local
1445 if (copy_from_user(&facilities, argp, sizeof(facilities))) in x25_ioctl()
1452 if (facilities.pacsize_in < X25_PS16 || in x25_ioctl()
1453 facilities.pacsize_in > X25_PS4096) in x25_ioctl()
1455 if (facilities.pacsize_out < X25_PS16 || in x25_ioctl()
1456 facilities.pacsize_out > X25_PS4096) in x25_ioctl()
1458 if (facilities.winsize_in < 1 || in x25_ioctl()
1459 facilities.winsize_in > 127) in x25_ioctl()
1461 if (facilities.throughput) { in x25_ioctl()
1462 int out = facilities.throughput & 0xf0; in x25_ioctl()
1463 int in = facilities.throughput & 0x0f; in x25_ioctl()
1465 facilities.throughput |= in x25_ioctl()
1470 facilities.throughput |= in x25_ioctl()
1475 if (facilities.reverse && in x25_ioctl()
1476 (facilities.reverse & 0x81) != 0x81) in x25_ioctl()
1478 x25->facilities = facilities; in x25_ioctl()