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 #73: FILE: net/quic/family.c:27: + void (*udp_conf_init)(struct sock *sk, struct udp_port_cfg *conf, union quic_addr *addr); WARNING: line length of 88 exceeds 80 columns #75: FILE: net/quic/family.c:29: + int (*flow_route)(struct sock *sk, union quic_addr *da, union quic_addr *sa, WARNING: line length of 86 exceeds 80 columns #78: FILE: net/quic/family.c:32: + void (*lower_xmit)(struct sock *sk, struct sk_buff *skb, struct flowi *fl); WARNING: line length of 96 exceeds 80 columns #81: FILE: net/quic/family.c:35: + void (*get_msg_addrs)(struct sk_buff *skb, union quic_addr *da, union quic_addr *sa); 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 90 exceeds 80 columns #126: FILE: net/quic/family.c:80: + 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 #131: FILE: net/quic/family.c:85: + seq_printf(seq, "%pI6c:%d\t", &addr->v6.sin6_addr, ntohs(addr->v4.sin_port)); WARNING: line length of 97 exceeds 80 columns #134: FILE: net/quic/family.c:88: +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 #143: FILE: net/quic/family.c:97: +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 #153: FILE: net/quic/family.c:107: +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 #188: FILE: net/quic/family.c:142: +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 #232: FILE: net/quic/family.c:186: +static void quic_v4_lower_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl) WARNING: line length of 83 exceeds 80 columns #240: FILE: net/quic/family.c:194: + pr_debug("%s: skb: %p, len: %d, num: %llu, %pI4:%d -> %pI4:%d\n", __func__, WARNING: line length of 82 exceeds 80 columns #253: FILE: net/quic/family.c:207: + udp_tunnel_xmit_skb((struct rtable *)dst, sk, skb, fl4->saddr, fl4->daddr, WARNING: line length of 91 exceeds 80 columns #254: FILE: net/quic/family.c:208: + tos, ttl, df, fl4->fl4_sport, fl4->fl4_dport, false, false, 0); WARNING: line length of 86 exceeds 80 columns #257: FILE: net/quic/family.c:211: +static void quic_v6_lower_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl) WARNING: line length of 85 exceeds 80 columns #265: FILE: net/quic/family.c:219: + pr_debug("%s: skb: %p, len: %d, num: %llu, %pI6c:%d -> %pI6c:%d\n", __func__, WARNING: line length of 81 exceeds 80 columns #276: FILE: net/quic/family.c:230: + label = ip6_make_flowlabel(sock_net(sk), skb, fl6->flowlabel, true, fl6); WARNING: line length of 83 exceeds 80 columns #278: FILE: net/quic/family.c:232: + ttl, label, fl6->fl6_sport, fl6->fl6_dport, false, 0); WARNING: line length of 96 exceeds 80 columns #281: FILE: net/quic/family.c:235: +static void quic_v4_get_msg_addrs(struct sk_buff *skb, union quic_addr *da, union quic_addr *sa) WARNING: line length of 96 exceeds 80 columns #294: FILE: net/quic/family.c:248: +static void quic_v6_get_msg_addrs(struct sk_buff *skb, union quic_addr *da, union quic_addr *sa) WARNING: line length of 83 exceeds 80 columns #311: FILE: net/quic/family.c:265: + hdr = (struct icmphdr *)(skb_network_header(skb) - sizeof(struct icmphdr)); WARNING: line length of 85 exceeds 80 columns #325: FILE: net/quic/family.c:279: + hdr = (struct icmp6hdr *)(skb_network_header(skb) - sizeof(struct icmp6hdr)); WARNING: line length of 92 exceeds 80 columns #377: FILE: net/quic/family.c:331: +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 #390: FILE: net/quic/family.c:344: +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 #415: FILE: net/quic/family.c:369: +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 #435: FILE: net/quic/family.c:389: +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 #488: FILE: net/quic/family.c:442: +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 #500: FILE: net/quic/family.c:454: +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 #515: FILE: net/quic/family.c:469: + if (a->sa.sa_family == AF_INET6 && ipv6_addr_any(&a->v6.sin6_addr)) WARNING: line length of 83 exceeds 80 columns #517: FILE: net/quic/family.c:471: + if (a->sa.sa_family == AF_INET && addr->sa.sa_family == AF_INET6 && WARNING: line length of 83 exceeds 80 columns #521: FILE: net/quic/family.c:475: + if (addr->sa.sa_family == AF_INET && a->sa.sa_family == AF_INET6 && WARNING: line length of 82 exceeds 80 columns #528: FILE: net/quic/family.c:482: + if (ipv6_addr_any(&a->v6.sin6_addr) || ipv6_addr_any(&addr->v6.sin6_addr)) WARNING: line length of 85 exceeds 80 columns #533: FILE: net/quic/family.c:487: +static int quic_v4_get_sk_addr(struct socket *sock, struct sockaddr *uaddr, int peer) WARNING: line length of 85 exceeds 80 columns #538: FILE: net/quic/family.c:492: +static int quic_v6_get_sk_addr(struct socket *sock, struct sockaddr *uaddr, int peer) WARNING: line length of 82 exceeds 80 columns #547: FILE: net/quic/family.c:501: + if (a->sa.sa_family == AF_INET6 && ipv6_addr_v4mapped(&a->v6.sin6_addr)) { WARNING: line length of 81 exceeds 80 columns #579: FILE: net/quic/family.c:533: + sk->sk_v6_rcv_saddr.s6_addr32[3] = a->v4.sin_addr.s_addr; WARNING: line length of 87 exceeds 80 columns #653: FILE: net/quic/family.c:607: +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 #658: FILE: net/quic/family.c:612: +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 #663: FILE: net/quic/family.c:617: +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 #668: FILE: net/quic/family.c:622: +void quic_get_msg_addrs(struct sk_buff *skb, union quic_addr *da, union quic_addr *sa) WARNING: line length of 96 exceeds 80 columns #685: FILE: net/quic/family.c:639: +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 #691: FILE: net/quic/family.c:645: +void quic_get_pref_addr(struct sock *sk, union quic_addr *addr, u8 **pp, u32 *plen) WARNING: line length of 81 exceeds 80 columns #702: FILE: net/quic/family.c:656: +bool quic_cmp_sk_addr(struct sock *sk, union quic_addr *a, union quic_addr *addr) WARNING: line length of 85 exceeds 80 columns #722: FILE: net/quic/family.c:676: +int quic_common_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, WARNING: line length of 88 exceeds 80 columns #728: FILE: net/quic/family.c:682: +int quic_common_getsockopt(struct sock *sk, int level, int optname, char __user *optval, WARNING: line length of 97 exceeds 80 columns #753: 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 98 exceeds 80 columns #759: FILE: net/quic/family.h:21: +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 #760: FILE: net/quic/family.h:22: +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 #761: FILE: net/quic/family.h:23: +void quic_udp_conf_init(struct sock *sk, struct udp_port_cfg *conf, union quic_addr *a); WARNING: line length of 87 exceeds 80 columns #763: FILE: net/quic/family.h:25: +void quic_get_msg_addrs(struct sk_buff *skb, union quic_addr *da, union quic_addr *sa); WARNING: line length of 97 exceeds 80 columns #767: 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 84 exceeds 80 columns #768: FILE: net/quic/family.h:30: +void quic_get_pref_addr(struct sock *sk, union quic_addr *addr, u8 **pp, u32 *plen); WARNING: line length of 82 exceeds 80 columns #771: FILE: net/quic/family.h:33: +bool quic_cmp_sk_addr(struct sock *sk, union quic_addr *a, union quic_addr *addr); WARNING: line length of 85 exceeds 80 columns #776: FILE: net/quic/family.h:38: +int quic_common_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, WARNING: line length of 88 exceeds 80 columns #778: FILE: net/quic/family.h:40: +int quic_common_getsockopt(struct sock *sk, int level, int optname, char __user *optval, WARNING: line length of 82 exceeds 80 columns #802: FILE: net/quic/socket.c:124: + return quic_common_setsockopt(sk, level, optname, optval, optlen); WARNING: line length of 82 exceeds 80 columns #811: FILE: net/quic/socket.c:138: + return quic_common_getsockopt(sk, level, optname, optval, optlen); total: 0 errors, 70 warnings, 0 checks, 763 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 c83393e5c7b2 ("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, 763 lines checked