Lines Matching refs:up
69 static inline int udplite_sender_cscov(struct udp_sock *up, struct udphdr *uh)
71 int cscov = up->len;
76 if (up->pcflag & UDPLITE_SEND_CC) {
77 if (up->pcslen < up->len) {
78 /* up->pcslen == 0 means that full coverage is required,
79 * partial coverage only if 0 < up->pcslen < up->len */
80 if (0 < up->pcslen) {
81 cscov = up->pcslen;
83 uh->len = htons(up->pcslen);
86 * NOTE: Causes for the error case `up->pcslen > up->len':