WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #42: new file mode 100644 WARNING: line length of 89 exceeds 80 columns #67: FILE: net/quic/family.c:21: + u32 iph_len; /* Network layer header length */ WARNING: line length of 99 exceeds 80 columns #68: FILE: net/quic/family.c:22: + int (*is_any_addr)(union quic_addr *addr); /* Check if the addr is a wildcard (ANY) */ WARNING: line length of 100 exceeds 80 columns #71: FILE: net/quic/family.c:25: + void (*udp_conf_init)(struct sock *sk, struct udp_port_cfg *conf, union quic_addr *addr); WARNING: line length of 88 exceeds 80 columns #73: FILE: net/quic/family.c:27: + int (*flow_route)(struct sock *sk, union quic_addr *da, union quic_addr *sa, WARNING: line length of 86 exceeds 80 columns #76: FILE: net/quic/family.c:30: + void (*lower_xmit)(struct sock *sk, struct sk_buff *skb, struct flowi *fl); WARNING: line length of 96 exceeds 80 columns #79: FILE: net/quic/family.c:33: + void (*get_msg_addrs)(union quic_addr *da, union quic_addr *sa, struct sk_buff *skb); WARNING: line length of 92 exceeds 80 columns #90: FILE: net/quic/family.c:44: + int (*get_user_addr)(struct sock *sk, union quic_addr *a, struct sockaddr *addr, WARNING: line length of 90 exceeds 80 columns #92: FILE: net/quic/family.c:46: + /* Get the 'preferred_address' from transport parameters (rfc9000#section-18.2) */ WARNING: line length of 93 exceeds 80 columns #93: FILE: net/quic/family.c:47: + void (*get_pref_addr)(struct sock *sk, union quic_addr *addr, u8 **pp, u32 *plen); WARNING: line length of 90 exceeds 80 columns #94: FILE: net/quic/family.c:48: + /* Set the 'preferred_address' into transport parameters (rfc9000#section-18.2) */ WARNING: line length of 86 exceeds 80 columns #97: FILE: net/quic/family.c:51: + /* Compare two addresses considering socket family and wildcard (ANY) match */ WARNING: line length of 91 exceeds 80 columns #98: FILE: net/quic/family.c:52: + bool (*cmp_sk_addr)(struct sock *sk, union quic_addr *a, union quic_addr *addr); WARNING: line length of 85 exceeds 80 columns #100: FILE: net/quic/family.c:54: + int (*get_sk_addr)(struct socket *sock, struct sockaddr *addr, int peer); WARNING: line length of 81 exceeds 80 columns #102: FILE: net/quic/family.c:56: + void (*set_sk_addr)(struct sock *sk, union quic_addr *addr, bool src); WARNING: line length of 91 exceeds 80 columns #107: FILE: net/quic/family.c:61: + int (*getsockopt)(struct sock *sk, int level, int optname, char __user *optval, WARNING: line length of 88 exceeds 80 columns #110: FILE: net/quic/family.c:64: + int (*setsockopt)(struct sock *sk, int level, int optname, sockptr_t optval, WARNING: line length of 97 exceeds 80 columns #124: FILE: net/quic/family.c:78: +static void quic_v4_udp_conf_init(struct sock *sk, struct udp_port_cfg *conf, union quic_addr *a) WARNING: line length of 97 exceeds 80 columns #132: FILE: net/quic/family.c:86: +static void quic_v6_udp_conf_init(struct sock *sk, struct udp_port_cfg *conf, union quic_addr *a) WARNING: line length of 88 exceeds 80 columns #141: FILE: net/quic/family.c:95: +static int quic_v4_flow_route(struct sock *sk, union quic_addr *da, union quic_addr *sa, WARNING: line length of 88 exceeds 80 columns #171: FILE: net/quic/family.c:125: +static int quic_v6_flow_route(struct sock *sk, union quic_addr *da, union quic_addr *sa, WARNING: line length of 86 exceeds 80 columns #213: FILE: net/quic/family.c:167: +static void quic_v4_lower_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl) WARNING: line length of 83 exceeds 80 columns #221: FILE: net/quic/family.c:175: + pr_debug("%s: skb: %p, len: %d, num: %llu, %pI4:%d -> %pI4:%d\n", __func__, WARNING: line length of 82 exceeds 80 columns #234: FILE: net/quic/family.c:188: + udp_tunnel_xmit_skb((struct rtable *)dst, sk, skb, fl4->saddr, fl4->daddr, WARNING: line length of 91 exceeds 80 columns #235: FILE: net/quic/family.c:189: + tos, ttl, df, fl4->fl4_sport, fl4->fl4_dport, false, false, 0); WARNING: line length of 86 exceeds 80 columns #238: FILE: net/quic/family.c:192: +static void quic_v6_lower_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl) WARNING: line length of 85 exceeds 80 columns #246: FILE: net/quic/family.c:200: + pr_debug("%s: skb: %p, len: %d, num: %llu, %pI6c:%d -> %pI6c:%d\n", __func__, WARNING: line length of 81 exceeds 80 columns #257: FILE: net/quic/family.c:211: + label = ip6_make_flowlabel(sock_net(sk), skb, fl6->flowlabel, true, fl6); WARNING: line length of 83 exceeds 80 columns #259: FILE: net/quic/family.c:213: + ttl, label, fl6->fl6_sport, fl6->fl6_dport, false, 0); WARNING: line length of 90 exceeds 80 columns #264: FILE: net/quic/family.c:218: + seq_printf(seq, "%pI4:%d\t", &addr->v4.sin_addr.s_addr, ntohs(addr->v4.sin_port)); WARNING: line length of 85 exceeds 80 columns #269: FILE: net/quic/family.c:223: + seq_printf(seq, "%pI6c:%d\t", &addr->v6.sin6_addr, ntohs(addr->v4.sin_port)); WARNING: line length of 96 exceeds 80 columns #272: FILE: net/quic/family.c:226: +static void quic_v4_get_msg_addrs(union quic_addr *da, union quic_addr *sa, struct sk_buff *skb) WARNING: line length of 96 exceeds 80 columns #285: FILE: net/quic/family.c:239: +static void quic_v6_get_msg_addrs(union quic_addr *da, union quic_addr *sa, struct sk_buff *skb) WARNING: line length of 83 exceeds 80 columns #302: FILE: net/quic/family.c:256: + hdr = (struct icmphdr *)(skb_network_header(skb) - sizeof(struct icmphdr)); WARNING: line length of 85 exceeds 80 columns #316: FILE: net/quic/family.c:270: + hdr = (struct icmp6hdr *)(skb_network_header(skb) - sizeof(struct icmp6hdr)); WARNING: line length of 92 exceeds 80 columns #368: FILE: net/quic/family.c:322: +static int quic_v4_get_user_addr(struct sock *sk, union quic_addr *a, struct sockaddr *addr, WARNING: line length of 92 exceeds 80 columns #379: FILE: net/quic/family.c:333: +static int quic_v6_get_user_addr(struct sock *sk, union quic_addr *a, struct sockaddr *addr, WARNING: line length of 93 exceeds 80 columns #401: FILE: net/quic/family.c:355: +static void quic_v4_get_pref_addr(struct sock *sk, union quic_addr *addr, u8 **pp, u32 *plen) WARNING: line length of 93 exceeds 80 columns #418: FILE: net/quic/family.c:372: +static void quic_v6_get_pref_addr(struct sock *sk, union quic_addr *addr, u8 **pp, u32 *plen) WARNING: line length of 91 exceeds 80 columns #468: FILE: net/quic/family.c:422: +static bool quic_v4_cmp_sk_addr(struct sock *sk, union quic_addr *a, union quic_addr *addr) WARNING: line length of 91 exceeds 80 columns #480: FILE: net/quic/family.c:434: +static bool quic_v6_cmp_sk_addr(struct sock *sk, union quic_addr *a, union quic_addr *addr) WARNING: line length of 83 exceeds 80 columns #495: FILE: net/quic/family.c:449: + if (a->sa.sa_family == AF_INET6 && ipv6_addr_any(&a->v6.sin6_addr)) WARNING: line length of 83 exceeds 80 columns #497: FILE: net/quic/family.c:451: + if (a->sa.sa_family == AF_INET && addr->sa.sa_family == AF_INET6 && WARNING: line length of 83 exceeds 80 columns #501: FILE: net/quic/family.c:455: + if (addr->sa.sa_family == AF_INET && a->sa.sa_family == AF_INET6 && WARNING: line length of 82 exceeds 80 columns #508: FILE: net/quic/family.c:462: + if (ipv6_addr_any(&a->v6.sin6_addr) || ipv6_addr_any(&addr->v6.sin6_addr)) WARNING: line length of 85 exceeds 80 columns #513: FILE: net/quic/family.c:467: +static int quic_v4_get_sk_addr(struct socket *sock, struct sockaddr *uaddr, int peer) WARNING: line length of 85 exceeds 80 columns #518: FILE: net/quic/family.c:472: +static int quic_v6_get_sk_addr(struct socket *sock, struct sockaddr *uaddr, int peer) WARNING: line length of 82 exceeds 80 columns #527: FILE: net/quic/family.c:481: + if (a->sa.sa_family == AF_INET6 && ipv6_addr_v4mapped(&a->v6.sin6_addr)) { WARNING: line length of 81 exceeds 80 columns #559: FILE: net/quic/family.c:513: + sk->sk_v6_rcv_saddr.s6_addr32[3] = a->v4.sin_addr.s_addr; WARNING: line length of 85 exceeds 80 columns #618: FILE: net/quic/family.c:572: +int quic_common_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, WARNING: line length of 88 exceeds 80 columns #624: FILE: net/quic/family.c:578: +int quic_common_getsockopt(struct sock *sk, int level, int optname, char __user *optval, WARNING: line length of 87 exceeds 80 columns #640: FILE: net/quic/family.c:594: +void quic_udp_conf_init(struct sock *sk, struct udp_port_cfg *conf, union quic_addr *a) WARNING: line length of 96 exceeds 80 columns #645: FILE: net/quic/family.c:599: +int quic_flow_route(struct sock *sk, union quic_addr *da, union quic_addr *sa, struct flowi *fl) WARNING: line length of 97 exceeds 80 columns #650: FILE: net/quic/family.c:604: +void quic_lower_xmit(struct sock *sk, struct sk_buff *skb, union quic_addr *da, struct flowi *fl) WARNING: line length of 86 exceeds 80 columns #660: FILE: net/quic/family.c:614: +void quic_get_msg_addrs(union quic_addr *da, union quic_addr *sa, struct sk_buff *skb) WARNING: line length of 96 exceeds 80 columns #677: FILE: net/quic/family.c:631: +int quic_get_user_addr(struct sock *sk, union quic_addr *a, struct sockaddr *addr, int addr_len) WARNING: line length of 83 exceeds 80 columns #683: FILE: net/quic/family.c:637: +void quic_get_pref_addr(struct sock *sk, union quic_addr *addr, u8 **pp, u32 *plen) WARNING: line length of 81 exceeds 80 columns #694: FILE: net/quic/family.c:648: +bool quic_cmp_sk_addr(struct sock *sk, union quic_addr *a, union quic_addr *addr) WARNING: line length of 97 exceeds 80 columns #733: FILE: net/quic/family.h:15: +#define QUIC_PREF_ADDR_LEN (QUIC_ADDR4_LEN + QUIC_PORT_LEN + QUIC_ADDR6_LEN + QUIC_PORT_LEN) WARNING: line length of 85 exceeds 80 columns #735: FILE: net/quic/family.h:17: +int quic_common_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, WARNING: line length of 88 exceeds 80 columns #737: FILE: net/quic/family.h:19: +int quic_common_getsockopt(struct sock *sk, int level, int optname, char __user *optval, WARNING: line length of 87 exceeds 80 columns #742: FILE: net/quic/family.h:24: +void quic_get_msg_addrs(union quic_addr *da, union quic_addr *sa, struct sk_buff *skb); WARNING: line length of 84 exceeds 80 columns #743: FILE: net/quic/family.h:25: +void quic_get_pref_addr(struct sock *sk, union quic_addr *addr, u8 **pp, u32 *plen); WARNING: line length of 97 exceeds 80 columns #747: FILE: net/quic/family.h:29: +int quic_get_user_addr(struct sock *sk, union quic_addr *a, struct sockaddr *addr, int addr_len); WARNING: line length of 82 exceeds 80 columns #748: FILE: net/quic/family.h:30: +bool quic_cmp_sk_addr(struct sock *sk, union quic_addr *a, union quic_addr *addr); WARNING: line length of 98 exceeds 80 columns #752: FILE: net/quic/family.h:34: +void quic_lower_xmit(struct sock *sk, struct sk_buff *skb, union quic_addr *da, struct flowi *fl); WARNING: line length of 97 exceeds 80 columns #753: FILE: net/quic/family.h:35: +int quic_flow_route(struct sock *sk, union quic_addr *da, union quic_addr *sa, struct flowi *fl); WARNING: line length of 88 exceeds 80 columns #755: FILE: net/quic/family.h:37: +void quic_udp_conf_init(struct sock *sk, struct udp_port_cfg *conf, union quic_addr *a); WARNING: line length of 82 exceeds 80 columns #781: FILE: net/quic/socket.c:124: + return quic_common_setsockopt(sk, level, optname, optval, optlen); WARNING: line length of 82 exceeds 80 columns #790: FILE: net/quic/socket.c:138: + return quic_common_getsockopt(sk, level, optname, optval, optlen); total: 0 errors, 70 warnings, 0 checks, 742 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit a7bcb4512e91 ("quic: provide family ops for address and protocol") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 70 warnings, 0 checks, 742 lines checked