File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -755,11 +755,10 @@ static int ah6_rcv_cb(struct sk_buff *skb, int err)
755755 return 0 ;
756756}
757757
758- static const struct xfrm_type ah6_type =
759- {
758+ static const struct xfrm_type ah6_type = {
760759 .description = "AH6" ,
761760 .owner = THIS_MODULE ,
762- .proto = IPPROTO_AH ,
761+ .proto = IPPROTO_AH ,
763762 .flags = XFRM_TYPE_REPLAY_PROT ,
764763 .init_state = ah6_init_state ,
765764 .destructor = ah6_destroy ,
Original file line number Diff line number Diff line change @@ -621,11 +621,10 @@ static int esp6_rcv_cb(struct sk_buff *skb, int err)
621621 return 0 ;
622622}
623623
624- static const struct xfrm_type esp6_type =
625- {
624+ static const struct xfrm_type esp6_type = {
626625 .description = "ESP6" ,
627- .owner = THIS_MODULE ,
628- .proto = IPPROTO_ESP ,
626+ .owner = THIS_MODULE ,
627+ .proto = IPPROTO_ESP ,
629628 .flags = XFRM_TYPE_REPLAY_PROT ,
630629 .init_state = esp6_init_state ,
631630 .destructor = esp6_destroy ,
Original file line number Diff line number Diff line change @@ -181,8 +181,7 @@ static int ipcomp6_rcv_cb(struct sk_buff *skb, int err)
181181 return 0 ;
182182}
183183
184- static const struct xfrm_type ipcomp6_type =
185- {
184+ static const struct xfrm_type ipcomp6_type = {
186185 .description = "IPCOMP6" ,
187186 .owner = THIS_MODULE ,
188187 .proto = IPPROTO_COMP ,
@@ -193,8 +192,7 @@ static const struct xfrm_type ipcomp6_type =
193192 .hdr_offset = xfrm6_find_1stfragopt ,
194193};
195194
196- static struct xfrm6_protocol ipcomp6_protocol =
197- {
195+ static struct xfrm6_protocol ipcomp6_protocol = {
198196 .handler = xfrm6_rcv ,
199197 .cb_handler = ipcomp6_rcv_cb ,
200198 .err_handler = ipcomp6_err ,
Original file line number Diff line number Diff line change @@ -336,11 +336,10 @@ static void mip6_destopt_destroy(struct xfrm_state *x)
336336{
337337}
338338
339- static const struct xfrm_type mip6_destopt_type =
340- {
339+ static const struct xfrm_type mip6_destopt_type = {
341340 .description = "MIP6DESTOPT" ,
342341 .owner = THIS_MODULE ,
343- .proto = IPPROTO_DSTOPTS ,
342+ .proto = IPPROTO_DSTOPTS ,
344343 .flags = XFRM_TYPE_NON_FRAGMENT | XFRM_TYPE_LOCAL_COADDR ,
345344 .init_state = mip6_destopt_init_state ,
346345 .destructor = mip6_destopt_destroy ,
@@ -469,11 +468,10 @@ static void mip6_rthdr_destroy(struct xfrm_state *x)
469468{
470469}
471470
472- static const struct xfrm_type mip6_rthdr_type =
473- {
471+ static const struct xfrm_type mip6_rthdr_type = {
474472 .description = "MIP6RT" ,
475473 .owner = THIS_MODULE ,
476- .proto = IPPROTO_ROUTING ,
474+ .proto = IPPROTO_ROUTING ,
477475 .flags = XFRM_TYPE_NON_FRAGMENT | XFRM_TYPE_REMOTE_COADDR ,
478476 .init_state = mip6_rthdr_init_state ,
479477 .destructor = mip6_rthdr_destroy ,
Original file line number Diff line number Diff line change 6262
6363static const char ip6_frag_cache_name [] = "ip6-frags" ;
6464
65- struct ip6frag_skb_cb
66- {
65+ struct ip6frag_skb_cb {
6766 struct inet6_skb_parm h ;
6867 int offset ;
6968};
@@ -575,8 +574,7 @@ static int ipv6_frag_rcv(struct sk_buff *skb)
575574 return -1 ;
576575}
577576
578- static const struct inet6_protocol frag_protocol =
579- {
577+ static const struct inet6_protocol frag_protocol = {
580578 .handler = ipv6_frag_rcv ,
581579 .flags = INET6_PROTO_NOPOLICY ,
582580};
You can’t perform that action at this time.
0 commit comments