Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2d02277f authored by Sean Tranchetti's avatar Sean Tranchetti
Browse files

net: qualcomm: rmnet: Segmentation cleanup



There is a lot of repeated code in the various segmentation functions.
Introduce and use a struct to hold various pieces of metadata we'll need
later on during the segmentation process like the lengths and positions of
headers. Passing this struct allows us to only compute various values once
instead of in every function, and cleans up the parameter lists.

Change-Id: I19d36701573c818ddbd8d3f8d1c1ace717712bec
Signed-off-by: default avatarSean Tranchetti <stranche@codeaurora.org>
parent 0abb3e81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment