Lines Matching refs:paclen
36 ax25_cb *ax25_send_frame(struct sk_buff *skb, int paclen, ax25_address *src, ax25_address *dest, ax… in ax25_send_frame() argument
45 if (paclen == 0) { in ax25_send_frame()
49 paclen = ax25_dev->values[AX25_VALUES_PACLEN]; in ax25_send_frame()
56 ax25_output(ax25, paclen, skb); in ax25_send_frame()
107 ax25_output(ax25, paclen, skb); in ax25_send_frame()
120 void ax25_output(ax25_cb *ax25, int paclen, struct sk_buff *skb) in ax25_output() argument
126 if (paclen < 16) { in ax25_output()
132 if ((skb->len - 1) > paclen) { in ax25_output()
137 paclen -= 2; /* Allow for fragment control info */ in ax25_output()
141 fragno = skb->len / paclen; in ax25_output()
142 if (skb->len % paclen == 0) fragno--; in ax25_output()
148 if ((skbn = alloc_skb(paclen + 2 + frontlen, GFP_ATOMIC)) == NULL) { in ax25_output()
159 len = (paclen > skb->len) ? skb->len : paclen; in ax25_output()