Lines Matching refs:buff
69 unsigned char *buff = skb_push(skb, NR_NETWORK_LEN + NR_TRANSPORT_LEN); in nr_header() local
71 memcpy(buff, (saddr != NULL) ? saddr : dev->dev_addr, dev->addr_len); in nr_header()
72 buff[6] &= ~AX25_CBIT; in nr_header()
73 buff[6] &= ~AX25_EBIT; in nr_header()
74 buff[6] |= AX25_SSSID_SPARE; in nr_header()
75 buff += AX25_ADDR_LEN; in nr_header()
78 memcpy(buff, daddr, dev->addr_len); in nr_header()
79 buff[6] &= ~AX25_CBIT; in nr_header()
80 buff[6] |= AX25_EBIT; in nr_header()
81 buff[6] |= AX25_SSSID_SPARE; in nr_header()
82 buff += AX25_ADDR_LEN; in nr_header()
84 *buff++ = sysctl_netrom_network_ttl_initialiser; in nr_header()
86 *buff++ = NR_PROTO_IP; in nr_header()
87 *buff++ = NR_PROTO_IP; in nr_header()
88 *buff++ = 0; in nr_header()
89 *buff++ = 0; in nr_header()
90 *buff++ = NR_PROTOEXT; in nr_header()