Lines Matching refs:paclen
32 ax25_cb *ax25_send_frame(struct sk_buff *skb, int paclen, const ax25_address *src, ax25_address *de… in ax25_send_frame() argument
41 if (paclen == 0) { in ax25_send_frame()
45 paclen = ax25_dev->values[AX25_VALUES_PACLEN]; in ax25_send_frame()
52 ax25_output(ax25, paclen, skb); in ax25_send_frame()
103 ax25_output(ax25, paclen, skb); in ax25_send_frame()
116 void ax25_output(ax25_cb *ax25, int paclen, struct sk_buff *skb) in ax25_output() argument
122 if (paclen < 16) { in ax25_output()
128 if ((skb->len - 1) > paclen) { in ax25_output()
133 paclen -= 2; /* Allow for fragment control info */ in ax25_output()
137 fragno = skb->len / paclen; in ax25_output()
138 if (skb->len % paclen == 0) fragno--; in ax25_output()
144 if ((skbn = alloc_skb(paclen + 2 + frontlen, GFP_ATOMIC)) == NULL) { in ax25_output()
155 len = (paclen > skb->len) ? skb->len : paclen; in ax25_output()