Lines Matching refs:ax25
64 static int nr_add_node(ax25_address *nr, const char *mnemonic, ax25_address *ax25, in nr_add_node() argument
85 if (ax25cmp(ax25, &nr_neigh->callsign) == 0 && nr_neigh->dev == dev) in nr_add_node()
114 nr_neigh->callsign = *ax25; in nr_add_node()
116 nr_neigh->ax25 = NULL; in nr_add_node()
143 if (quality != 0 && ax25cmp(nr, ax25) == 0 && !nr_neigh->locked) in nr_add_node()
400 nr_neigh->ax25 = NULL; in nr_add_neigh()
707 void nr_link_failed(ax25_cb *ax25, int reason) in nr_link_failed() argument
713 if (nr_neigh->ax25 == ax25) in nr_link_failed()
718 nr_neigh->ax25 = NULL; in nr_link_failed()
731 int nr_route_frame(struct sk_buff *skb, ax25_cb *ax25) in nr_route_frame() argument
743 if (ax25 != NULL) in nr_route_frame()
744 nr_add_node(nr_src, "", &ax25->dest_addr, ax25->digipeat, in nr_route_frame()
745 ax25->ax25_dev->dev, 0, sysctl_netrom_obsolescence_count_initialiser); in nr_route_frame()
750 if (ax25 == NULL) /* Its from me */ in nr_route_frame()
759 if (!sysctl_netrom_routing_control && ax25 != NULL) in nr_route_frame()
781 …nr_neigh->ax25 = ax25_send_frame(skb, 256, (ax25_address *)dev->dev_addr, &nr_neigh->callsign, nr_… in nr_route_frame()
785 return (nr_neigh->ax25 != NULL); in nr_route_frame()