Lines Matching refs:make
830 struct sock *make; in nr_rx_frame() local
940 if (sk == NULL || sk->ack_backlog == sk->max_ack_backlog || (make = nr_make_new(sk)) == NULL) { in nr_rx_frame()
947 skb->sk = make; in nr_rx_frame()
948 make->state = TCP_ESTABLISHED; in nr_rx_frame()
951 make->protinfo.nr->source_addr = *dest; in nr_rx_frame()
952 make->protinfo.nr->dest_addr = *src; in nr_rx_frame()
953 make->protinfo.nr->user_addr = *user; in nr_rx_frame()
955 make->protinfo.nr->your_index = circuit_index; in nr_rx_frame()
956 make->protinfo.nr->your_id = circuit_id; in nr_rx_frame()
960 make->protinfo.nr->my_index = circuit / 256; in nr_rx_frame()
961 make->protinfo.nr->my_id = circuit % 256; in nr_rx_frame()
966 if (window < make->protinfo.nr->window) in nr_rx_frame()
967 make->protinfo.nr->window = window; in nr_rx_frame()
972 if (timeout * HZ < make->protinfo.nr->t1) in nr_rx_frame()
973 make->protinfo.nr->t1 = timeout * HZ; in nr_rx_frame()
974 make->protinfo.nr->bpqext = 1; in nr_rx_frame()
976 make->protinfo.nr->bpqext = 0; in nr_rx_frame()
979 nr_write_internal(make, NR_CONNACK); in nr_rx_frame()
981 make->protinfo.nr->condition = 0x00; in nr_rx_frame()
982 make->protinfo.nr->vs = 0; in nr_rx_frame()
983 make->protinfo.nr->va = 0; in nr_rx_frame()
984 make->protinfo.nr->vr = 0; in nr_rx_frame()
985 make->protinfo.nr->vl = 0; in nr_rx_frame()
986 make->protinfo.nr->state = NR_STATE_3; in nr_rx_frame()
988 make->pair = sk; in nr_rx_frame()
990 dev_hold(make->protinfo.nr->device); in nr_rx_frame()
992 nr_insert_socket(make); in nr_rx_frame()
996 nr_start_heartbeat(make); in nr_rx_frame()
997 nr_start_idletimer(make); in nr_rx_frame()